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.001621/0.001621, allocations: 87.52 kB / 21.99 MB, free: 5.195 MB / 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.001783/0.001783, allocations: 153.8 kB / 25.24 MB, free: 3.035 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.372/1.372, allocations: 158.6 MB / 187 MB, free: 6.254 MB / 174.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 55.92 kB / 299.4 MB, free: 6.848 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2147, allocations: 49.14 MB / 348.5 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.01189/0.2266, allocations: 8.483 MB / 357 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005812/0.2324, allocations: 2.984 MB / 360 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007695/0.2331, allocations: 63.56 kB / 360 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.2347, allocations: 0.6597 MB / 360.7 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001981/0.2366, allocations: 0.8039 MB / 361.5 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007804/0.2374, allocations: 403.4 kB / 361.9 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002808/0.2402, allocations: 2.561 MB / 364.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001737/0.242, allocations: 1.229 MB / 365.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001548/0.2435, allocations: 1.215 MB / 366.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002132/0.2456, allocations: 1.436 MB / 368.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004517/0.2461, allocations: 316 kB / 368.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007604/0.2469, allocations: 415.8 kB / 369.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009695/0.2478, allocations: 0.9232 MB / 370 MB, free: 9.895 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001342/0.2492, allocations: 1.147 MB / 371.1 MB, free: 8.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004491/0.2537, allocations: 4.183 MB / 375.3 MB, free: 4.551 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2537, allocations: 0 / 375.3 MB, free: 4.551 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2537, allocations: 4 kB / 375.3 MB, free: 4.547 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.472e-05/0.2537, allocations: 4 kB / 375.3 MB, free: 4.543 MB / 334.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.005652/0.2594, allocations: 2.889 MB / 378.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.2594, allocations: 15.98 kB / 378.2 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007095/0.2601, allocations: 303.2 kB / 378.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002678/0.2628, allocations: 1.378 MB / 379.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.2629, allocations: 168.3 kB / 380.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003306/0.2633, allocations: 208 kB / 380.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004735/0.268, allocations: 2.896 MB / 383.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.467e-05/0.2681, allocations: 7.953 kB / 383.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002024/0.2683, allocations: 91.98 kB / 383.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001236/0.2684, allocations: 104.2 kB / 383.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004157/0.2725, allocations: 2.331 MB / 385.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.013/0.2855, allocations: 7.382 MB / 393.1 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002331/0.2879, allocations: 1.178 MB / 394.3 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001811/0.2897, allocations: 0.8967 MB / 395.1 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002228/0.2899, allocations: 48.97 kB / 395.2 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.29, allocations: 51.55 kB / 395.2 MB, free: 136 kB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 3.326e-06/0.29, allocations: 0 / 395.2 MB, free: 136 kB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.0135/0.3035, allocations: 5.666 MB / 400.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.3035, allocations: 64.41 kB / 401 MB, free: 10.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001901/0.3054, allocations: 1.297 MB / 402.3 MB, free: 9.055 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.33e-05/0.3055, allocations: 45.7 kB / 402.3 MB, free: 9.004 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008281/0.3063, allocations: 1.066 MB / 403.4 MB, free: 7.926 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003716/0.3067, allocations: 432.4 kB / 403.8 MB, free: 7.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004366/0.3071, allocations: 251.5 kB / 404.1 MB, free: 7.246 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.3073, allocations: 365.9 kB / 404.4 MB, free: 6.883 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/0.3085, allocations: 0.687 MB / 405.1 MB, free: 6.195 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/0.3101, allocations: 1.066 MB / 406.2 MB, free: 4.969 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002893/0.313, allocations: 1.867 MB / 408 MB, free: 2.938 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.313, allocations: 4 kB / 408 MB, free: 2.934 MB / 366.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004287/0.3173, allocations: 2.312 MB / 410.3 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.3173, allocations: 8 kB / 410.4 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.872e-05/0.3173, allocations: 12 kB / 410.4 MB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.3184, allocations: 423.3 kB / 410.8 MB, free: 160 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.3197, allocations: 331.4 kB / 411.1 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007718/0.3274, allocations: 6.616 MB / 417.7 MB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.3285, allocations: 95.94 kB / 417.8 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/0.3287, allocations: 64.14 kB / 417.9 MB, free: 8.758 MB / 382.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.001172/0.3298, allocations: 0.6886 MB / 418.6 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002652/0.3301, allocations: 151 kB / 418.7 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003887/0.334, allocations: 2.027 MB / 420.7 MB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.334, allocations: 12 kB / 420.7 MB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.334, allocations: 8 kB / 420.8 MB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.334, allocations: 3.984 kB / 420.8 MB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007229/0.3413, allocations: 3.94 MB / 424.7 MB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.3413, allocations: 4 kB / 424.7 MB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009488/0.3422, allocations: 215.7 kB / 424.9 MB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001153/0.3434, allocations: 447.2 kB / 425.4 MB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.106e-05/0.3435, allocations: 35.98 kB / 425.4 MB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008733/0.3522, allocations: 8.076 MB / 433.5 MB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.3522, allocations: 4 kB / 433.5 MB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00503/0.3572, allocations: 3.008 MB / 436.5 MB, free: 5.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006544/0.3579, allocations: 298.8 kB / 436.8 MB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001867/0.3581, allocations: 31.94 kB / 436.8 MB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008811/0.359, allocations: 83.89 kB / 436.9 MB, free: 5.113 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000206/0.3592, allocations: 100.7 kB / 437 MB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-05/0.3592, allocations: 39.98 kB / 437 MB, free: 4.973 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001276/0.3605, allocations: 0.8757 MB / 437.9 MB, free: 4.094 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3605, allocations: 0 / 437.9 MB, free: 4.094 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001514/0.362, allocations: 463.9 kB / 438.3 MB, free: 3.641 MB / 398.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.0003664/0.3624, allocations: 200.9 kB / 438.5 MB, free: 3.434 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00363/0.366, allocations: 2.078 MB / 440.6 MB, free: 1.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.366, allocations: 0 / 440.6 MB, free: 1.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002435/0.3685, allocations: 1.391 MB / 442 MB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/0.3701, allocations: 361 kB / 442.4 MB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007596/0.3777, allocations: 4.515 MB / 446.9 MB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001644/0.3793, allocations: 1.235 MB / 448.1 MB, free: 9.641 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009114/0.3802, allocations: 348.5 kB / 448.5 MB, free: 9.293 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/0.3805, allocations: 108.5 kB / 448.6 MB, free: 9.188 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3805, allocations: 0 / 448.6 MB, free: 9.188 MB / 414.1 MB Notification: Performance of Templates: time 0.04134/0.4219, allocations: 23.29 MB / 471.8 MB, free: 1.844 MB / 430.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 -s ida -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/jenkins1/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/jenkins1/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.461184864980169]