Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001184/0.001184, allocations: 105.4 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001434/0.001434, allocations: 213.8 kB / 22.99 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 230.2 MB / 256.2 MB, free: 8.547 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 59.91 kB / 376.5 MB, free: 3.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2506, allocations: 53.33 MB / 429.8 MB, free: 7.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.009082/0.2596, allocations: 7.22 MB / 437 MB, free: 308 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004112/0.2638, allocations: 2.391 MB / 439.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005706/0.2643, allocations: 23.94 kB / 439.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001426/0.2658, allocations: 0.5126 MB / 439.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.2668, allocations: 416.9 kB / 440.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000431/0.2672, allocations: 195.8 kB / 440.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001393/0.2686, allocations: 1.21 MB / 441.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000659/0.2693, allocations: 340 kB / 442.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009575/0.2702, allocations: 466.2 kB / 442.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006332/0.2709, allocations: 0.4899 MB / 443 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001598/0.271, allocations: 112 kB / 443.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003426/0.2714, allocations: 156 kB / 443.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002096/0.2716, allocations: 227.2 kB / 443.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005898/0.2722, allocations: 0.5482 MB / 444.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00216/0.2743, allocations: 1.432 MB / 445.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.2743, allocations: 0 / 445.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2743, allocations: 8 kB / 445.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.539e-05/0.2744, allocations: 0 / 445.5 MB, free: 7.762 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002402/0.2768, allocations: 1.277 MB / 446.8 MB, free: 6.434 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.2768, allocations: 12.03 kB / 446.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005381/0.2774, allocations: 148.1 kB / 446.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.2785, allocations: 0.6615 MB / 447.6 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.071e-05/0.2786, allocations: 58.38 kB / 447.7 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.2787, allocations: 80.38 kB / 447.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.2802, allocations: 0.7793 MB / 448.5 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.803e-05/0.2802, allocations: 11.94 kB / 448.5 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.854e-05/0.2803, allocations: 36 kB / 448.6 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/0.2803, allocations: 20 kB / 448.6 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.2813, allocations: 0.5114 MB / 449.1 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004593/0.2859, allocations: 3.373 MB / 452.5 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000504/0.2864, allocations: 218.6 kB / 452.7 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/0.2867, allocations: 104.8 kB / 452.8 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.2867, allocations: 11.92 kB / 452.8 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.2867, allocations: 34.56 kB / 452.8 MB, free: 88 kB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.254e-06/0.2867, allocations: 4 kB / 452.8 MB, free: 84 kB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.00214/0.2889, allocations: 1.063 MB / 453.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.118e-05/0.2889, allocations: 85.28 kB / 454 MB, free: 14.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.2899, allocations: 0.7349 MB / 454.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.29, allocations: 29.7 kB / 454.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004043/0.2904, allocations: 0.4995 MB / 455.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.541e-05/0.2905, allocations: 111.1 kB / 455.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.2906, allocations: 118.2 kB / 455.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.2908, allocations: 378.8 kB / 455.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/0.2911, allocations: 125.2 kB / 456 MB, free: 12.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005165/0.2916, allocations: 418.2 kB / 456.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008321/0.2925, allocations: 0.5831 MB / 456.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2925, allocations: 0 / 456.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001097/0.2936, allocations: 0.6153 MB / 457.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.2936, allocations: 8 kB / 457.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.2936, allocations: 12 kB / 457.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001566/0.2938, allocations: 32.84 kB / 457.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004416/0.2942, allocations: 139.8 kB / 457.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/0.2955, allocations: 1.387 MB / 459.1 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004235/0.2959, allocations: 40 kB / 459.2 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.97e-05/0.2959, allocations: 32 kB / 459.2 MB, free: 9.156 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003206/0.2963, allocations: 233.6 kB / 459.4 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.2964, allocations: 71.58 kB / 459.5 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007065/0.2971, allocations: 333.3 kB / 459.8 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.2971, allocations: 0 / 459.8 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2971, allocations: 7.938 kB / 459.8 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.2971, allocations: 3.984 kB / 459.8 MB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.2988, allocations: 1.093 MB / 460.9 MB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.2988, allocations: 7.938 kB / 460.9 MB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/0.299, allocations: 55.97 kB / 461 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-05/0.2991, allocations: 25.06 kB / 461 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.2991, allocations: 11.94 kB / 461 MB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.3003, allocations: 1.375 MB / 462.4 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.3003, allocations: 4.031 kB / 462.4 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000949/0.3012, allocations: 0.5453 MB / 463 MB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002429/0.3014, allocations: 176.6 kB / 463.1 MB, free: 4.926 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.465e-05/0.3015, allocations: 12 kB / 463.1 MB, free: 4.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.3018, allocations: 19.98 kB / 463.2 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.864e-05/0.3019, allocations: 27.91 kB / 463.2 MB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.3019, allocations: 12 kB / 463.2 MB, free: 4.855 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007162/0.3026, allocations: 0.4951 MB / 463.7 MB, free: 4.363 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3026, allocations: 0 / 463.7 MB, free: 4.363 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006865/0.3033, allocations: 164 kB / 463.9 MB, free: 4.203 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002385/0.3036, allocations: 127.1 kB / 464 MB, free: 4.066 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009396/0.3045, allocations: 452.5 kB / 464.4 MB, free: 3.613 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3045, allocations: 4.812 kB / 464.4 MB, free: 3.609 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003908/0.3049, allocations: 238.4 kB / 464.7 MB, free: 3.363 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009298/0.3058, allocations: 189.6 kB / 464.8 MB, free: 3.188 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.3082, allocations: 1.449 MB / 466.3 MB, free: 1.684 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006308/0.3088, allocations: 0.9372 MB / 467.2 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003198/0.3092, allocations: 86.03 kB / 467.3 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.3093, allocations: 51.42 kB / 467.4 MB, free: 0.582 MB / 366.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3093, allocations: 0 / 467.4 MB, free: 0.582 MB / 366.1 MB Notification: Performance of Templates: time 0.01724/0.3265, allocations: 8.522 MB / 475.9 MB, free: 8.148 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.653085830621421]