Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_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.001822/0.001822, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 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.002242/0.002242, allocations: 163.4 kB / 25.02 MB, free: 8.441 MB / 18.57 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.443/1.443, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 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.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 250.4 MB, free: 3.918 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/2.911e-05, allocations: 6.312 kB / 250.4 MB, free: 3.91 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.01437/0.0144, allocations: 9.081 MB / 259.5 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007614/0.02202, allocations: 3.292 MB / 262.7 MB, free: 7.484 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.02324, allocations: 63.56 kB / 262.8 MB, free: 7.422 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001966/0.02521, allocations: 0.7683 MB / 263.6 MB, free: 6.648 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002631/0.02784, allocations: 0.9158 MB / 264.5 MB, free: 5.727 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009912/0.02883, allocations: 427.3 kB / 264.9 MB, free: 5.309 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003886/0.03271, allocations: 2.865 MB / 267.8 MB, free: 2.43 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002065/0.03478, allocations: 1.289 MB / 269.1 MB, free: 1.078 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00279/0.03757, allocations: 1.875 MB / 270.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00235/0.03992, allocations: 1.36 MB / 272.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005483/0.04047, allocations: 336 kB / 272.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009015/0.04137, allocations: 427.9 kB / 273 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001384/0.04275, allocations: 0.9854 MB / 274 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001463/0.04422, allocations: 1.029 MB / 275.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005553/0.04977, allocations: 4.44 MB / 279.5 MB, free: 6.613 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.04977, allocations: 0 / 279.5 MB, free: 6.613 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.04978, allocations: 3.938 kB / 279.5 MB, free: 6.609 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.428e-05/0.04984, allocations: 0 / 279.5 MB, free: 6.609 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.006655/0.0565, allocations: 3.026 MB / 282.5 MB, free: 3.539 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.05655, allocations: 19.97 kB / 282.6 MB, free: 3.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.05774, allocations: 0.4951 MB / 283 MB, free: 3.023 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002981/0.06072, allocations: 1.515 MB / 284.6 MB, free: 1.469 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001822/0.06091, allocations: 164.8 kB / 284.7 MB, free: 1.305 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003935/0.0613, allocations: 224.3 kB / 284.9 MB, free: 1.086 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005918/0.06722, allocations: 3.017 MB / 288 MB, free: 13.96 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.695e-05/0.06727, allocations: 7.984 kB / 288 MB, free: 13.95 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002562/0.06753, allocations: 91.98 kB / 288.1 MB, free: 13.86 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000152/0.06768, allocations: 120.3 kB / 288.2 MB, free: 13.74 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00474/0.07242, allocations: 2.422 MB / 290.6 MB, free: 11.3 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01506/0.08748, allocations: 7.972 MB / 298.6 MB, free: 3.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002416/0.0899, allocations: 1.173 MB / 299.7 MB, free: 1.891 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001951/0.09185, allocations: 0.9177 MB / 300.7 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002331/0.09208, allocations: 56.97 kB / 300.7 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.053e-05/0.09213, allocations: 55.48 kB / 300.8 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of pre-optimization done (n=105): time 2.735e-06/0.09214, allocations: 0 / 300.8 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of matching and sorting (n=122): time 0.1207/0.2128, allocations: 6.044 MB / 306.8 MB, free: 55.38 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.2129, allocations: 65.03 kB / 306.9 MB, free: 55.32 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002077/0.215, allocations: 1.426 MB / 308.3 MB, free: 54.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.925e-05/0.2151, allocations: 46.22 kB / 308.3 MB, free: 54.72 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006185/0.2157, allocations: 1.141 MB / 309.5 MB, free: 53.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000275/0.2159, allocations: 446.3 kB / 309.9 MB, free: 53.7 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004308/0.2164, allocations: 271.1 kB / 310.2 MB, free: 53.56 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.401e-05/0.2164, allocations: 302.3 kB / 310.5 MB, free: 53.26 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.2176, allocations: 0.7084 MB / 311.2 MB, free: 53.02 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.2189, allocations: 1.139 MB / 312.3 MB, free: 52.25 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002373/0.2213, allocations: 1.967 MB / 314.3 MB, free: 51.1 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.647e-06/0.2213, allocations: 3.969 kB / 314.3 MB, free: 51.1 MB / 282.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.003749/0.2251, allocations: 2.5 MB / 316.8 MB, free: 50.11 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.2251, allocations: 19.59 kB / 316.8 MB, free: 50.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.2251, allocations: 11.72 kB / 316.8 MB, free: 50.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/0.2261, allocations: 456.5 kB / 317.3 MB, free: 49.97 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.2273, allocations: 348.8 kB / 317.6 MB, free: 49.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005048/0.2324, allocations: 6.709 MB / 324.3 MB, free: 42.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.2338, allocations: 103.8 kB / 324.4 MB, free: 42.85 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.2339, allocations: 67.98 kB / 324.5 MB, free: 42.79 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (169): * Single equations (assignments): 165 * 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,12,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.001078/0.235, allocations: 0.716 MB / 325.2 MB, free: 42.06 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003607/0.2354, allocations: 222.7 kB / 325.4 MB, free: 41.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003117/0.2385, allocations: 2.079 MB / 327.5 MB, free: 39.74 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.2385, allocations: 16 kB / 327.5 MB, free: 39.73 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.2385, allocations: 4 kB / 327.5 MB, free: 39.72 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.2385, allocations: 7.969 kB / 327.5 MB, free: 39.71 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006347/0.2448, allocations: 4.131 MB / 331.7 MB, free: 35.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/0.2449, allocations: 4 kB / 331.7 MB, free: 35.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009085/0.2458, allocations: 219.7 kB / 331.9 MB, free: 35.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001189/0.247, allocations: 479 kB / 332.4 MB, free: 34.81 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.82e-05/0.247, allocations: 35.98 kB / 332.4 MB, free: 34.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00591/0.253, allocations: 8.149 MB / 340.5 MB, free: 26.24 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.253, allocations: 7.938 kB / 340.5 MB, free: 26.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004391/0.2573, allocations: 3.175 MB / 343.7 MB, free: 22.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000813/0.2582, allocations: 310.8 kB / 344 MB, free: 22.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002067/0.2584, allocations: 31.98 kB / 344.1 MB, free: 22.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000879/0.2592, allocations: 79.91 kB / 344.1 MB, free: 22.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002315/0.2595, allocations: 112.7 kB / 344.2 MB, free: 22.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-05/0.2596, allocations: 39.98 kB / 344.3 MB, free: 22.42 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001137/0.2607, allocations: 0.9533 MB / 345.2 MB, free: 21.46 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2607, allocations: 0 / 345.2 MB, free: 21.46 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001713/0.2624, allocations: 487.9 kB / 345.7 MB, free: 20.99 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],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 (108): * Single equations (assignments): 104 * 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,12,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.000373/0.2628, allocations: 194.5 kB / 345.9 MB, free: 20.79 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003128/0.2659, allocations: 2.143 MB / 348 MB, free: 18.6 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.2659, allocations: 4.938 kB / 348 MB, free: 18.6 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001911/0.2678, allocations: 1.424 MB / 349.5 MB, free: 17.13 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/0.2698, allocations: 439.6 kB / 349.9 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005942/0.2757, allocations: 4.657 MB / 354.6 MB, free: 11.98 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/0.2768, allocations: 1.302 MB / 355.9 MB, free: 10.64 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.001024/0.2778, allocations: 373.7 kB / 356.2 MB, free: 10.27 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003267/0.2782, allocations: 116.5 kB / 356.3 MB, free: 10.15 MB / 282.7 MB Notification: Performance of SimCode: time 1.243e-06/0.2782, allocations: 0 / 356.3 MB, free: 10.15 MB / 282.7 MB Notification: Performance of Templates: time 0.04321/0.3214, allocations: 25.44 MB / 381.8 MB, free: 0.6953 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_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/SMPM_Inverter/SMPM_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_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.603710005991161]