Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 89.33 kB / 21.44 MB, free: 276 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002225/0.002225, allocations: 164 kB / 24.71 MB, free: 3.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.252/1.252, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 299 MB, free: 8.703 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.252e-05, allocations: 2.281 kB / 299 MB, free: 8.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.01084/0.01086, allocations: 8.485 MB / 307.5 MB, free: 176 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00558/0.01644, allocations: 2.976 MB / 310.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000834/0.01727, allocations: 63.56 kB / 310.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.01882, allocations: 0.6789 MB / 311.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00202/0.02084, allocations: 0.8304 MB / 312 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008235/0.02166, allocations: 415.1 kB / 312.4 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002936/0.0246, allocations: 2.645 MB / 315.1 MB, free: 8.535 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/0.02629, allocations: 1.228 MB / 316.3 MB, free: 7.246 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00225/0.02854, allocations: 1.758 MB / 318 MB, free: 5.484 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001909/0.03045, allocations: 1.294 MB / 319.3 MB, free: 4.188 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004789/0.03093, allocations: 323.9 kB / 319.6 MB, free: 3.871 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007857/0.03172, allocations: 415.8 kB / 320.1 MB, free: 3.465 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000978/0.03269, allocations: 0.9348 MB / 321 MB, free: 2.527 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001219/0.03391, allocations: 0.9666 MB / 322 MB, free: 1.559 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1346/0.1685, allocations: 4.212 MB / 326.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.1685, allocations: 1.062 kB / 326.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1685, allocations: 0 / 326.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000187/0.1687, allocations: 0 / 326.2 MB, free: 20.75 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.00827/0.177, allocations: 2.867 MB / 329 MB, free: 19.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.177, allocations: 12.61 kB / 329 MB, free: 19.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.1782, allocations: 308.7 kB / 329.3 MB, free: 19.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002568/0.1807, allocations: 1.381 MB / 330.7 MB, free: 19.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.1809, allocations: 157 kB / 330.9 MB, free: 19.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003418/0.1812, allocations: 211.7 kB / 331.1 MB, free: 19.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004347/0.1855, allocations: 2.898 MB / 334 MB, free: 18.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.828e-05/0.1856, allocations: 8.625 kB / 334 MB, free: 18.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002147/0.1858, allocations: 82.53 kB / 334.1 MB, free: 18.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/0.1859, allocations: 109.5 kB / 334.2 MB, free: 18.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003648/0.1896, allocations: 2.344 MB / 336.5 MB, free: 17.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01056/0.2001, allocations: 7.374 MB / 343.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/0.202, allocations: 1.187 MB / 345.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/0.2034, allocations: 0.8898 MB / 346 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002089/0.2036, allocations: 54.09 kB / 346 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.2036, allocations: 46.25 kB / 346.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=101): time 2.846e-06/0.2036, allocations: 0 / 346.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=116): time 0.01098/0.2146, allocations: 5.673 MB / 351.7 MB, free: 9.086 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.2146, allocations: 64.41 kB / 351.8 MB, free: 9.012 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/0.216, allocations: 1.304 MB / 353.1 MB, free: 7.703 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.699e-05/0.2161, allocations: 45.7 kB / 353.2 MB, free: 7.652 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003951/0.2165, allocations: 1.061 MB / 354.2 MB, free: 6.582 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.2166, allocations: 423.7 kB / 354.6 MB, free: 6.176 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00033/0.217, allocations: 255.5 kB / 354.9 MB, free: 5.922 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.551e-05/0.217, allocations: 364.8 kB / 355.2 MB, free: 5.562 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008917/0.2179, allocations: 0.6832 MB / 355.9 MB, free: 4.879 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000997/0.2189, allocations: 1.066 MB / 357 MB, free: 3.656 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002014/0.2209, allocations: 1.862 MB / 358.9 MB, free: 1.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.2209, allocations: 0 / 358.9 MB, free: 1.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003458/0.2244, allocations: 2.32 MB / 361.2 MB, free: 15.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.2244, allocations: 14.06 kB / 361.2 MB, free: 15.42 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.2244, allocations: 12 kB / 361.2 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.2255, allocations: 411.4 kB / 361.6 MB, free: 14.99 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.2267, allocations: 332.9 kB / 361.9 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007409/0.2341, allocations: 6.607 MB / 368.5 MB, free: 7.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.2354, allocations: 107.8 kB / 368.6 MB, free: 7.715 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.2355, allocations: 59.47 kB / 368.7 MB, free: 7.66 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (157): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001278/0.2368, allocations: 0.6862 MB / 369.4 MB, free: 6.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002984/0.2371, allocations: 151.1 kB / 369.5 MB, free: 6.832 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003869/0.2409, allocations: 2.019 MB / 371.5 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.2409, allocations: 12 kB / 371.6 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.2409, allocations: 4 kB / 371.6 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/0.241, allocations: 11.91 kB / 371.6 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007426/0.2484, allocations: 3.942 MB / 375.5 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.2484, allocations: 0 / 375.5 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009537/0.2493, allocations: 210.3 kB / 375.7 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001198/0.2505, allocations: 458.6 kB / 376.2 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.409e-05/0.2506, allocations: 39.97 kB / 376.2 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008666/0.2593, allocations: 8.062 MB / 384.3 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.2593, allocations: 7.656 kB / 384.3 MB, free: 7.684 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005299/0.2646, allocations: 2.999 MB / 387.3 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000834/0.2654, allocations: 298.5 kB / 387.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002167/0.2657, allocations: 31.98 kB / 387.6 MB, free: 4.301 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008718/0.2665, allocations: 79.91 kB / 387.7 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002613/0.2668, allocations: 104.5 kB / 387.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.392e-05/0.2669, allocations: 32 kB / 387.8 MB, free: 4.094 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001378/0.2683, allocations: 0.8819 MB / 388.7 MB, free: 3.211 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2683, allocations: 0 / 388.7 MB, free: 3.211 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001667/0.2699, allocations: 455.9 kB / 389.1 MB, free: 2.766 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,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 (103): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%), (2,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.0004058/0.2703, allocations: 196.1 kB / 389.3 MB, free: 2.578 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003753/0.2741, allocations: 2.08 MB / 391.4 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.2741, allocations: 0 / 391.4 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002426/0.2765, allocations: 1.391 MB / 392.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/0.2783, allocations: 366 kB / 393.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007041/0.2853, allocations: 4.342 MB / 397.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/0.2868, allocations: 1.231 MB / 398.7 MB, free: 9.062 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0009718/0.2878, allocations: 348.5 kB / 399.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003531/0.2881, allocations: 108.5 kB / 399.2 MB, free: 8.609 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2881, allocations: 0 / 399.2 MB, free: 8.609 MB / 350.1 MB Notification: Performance of Templates: time 0.0417/0.3299, allocations: 23.13 MB / 422.3 MB, free: 1.508 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.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: 5.1568393260240555]