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.00137/0.00137, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001785/0.001785, allocations: 166 kB / 25.69 MB, free: 8.453 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 0.9482/0.9482, allocations: 158.6 MB / 187.6 MB, free: 2.805 MB / 170.7 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.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.|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.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.673e-05/1.817e-05, allocations: 14.25 kB / 251.6 MB, free: 7.211 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.008227/0.008245, allocations: 9.328 MB / 260.9 MB, free: 13.84 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005179/0.01342, allocations: 3.201 MB / 264.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007715/0.01419, allocations: 63.56 kB / 264.2 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.01526, allocations: 0.6829 MB / 264.9 MB, free: 9.871 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.01653, allocations: 0.8342 MB / 265.7 MB, free: 9.031 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005765/0.01711, allocations: 403.2 kB / 266.1 MB, free: 8.637 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001622/0.01873, allocations: 2.645 MB / 268.7 MB, free: 5.977 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.01987, allocations: 1.271 MB / 270 MB, free: 4.625 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.02138, allocations: 2.008 MB / 272 MB, free: 2.613 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.02242, allocations: 1.317 MB / 273.3 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002511/0.02267, allocations: 312 kB / 273.6 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004136/0.02308, allocations: 399.8 kB / 274 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004792/0.02356, allocations: 0.8998 MB / 274.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006087/0.02417, allocations: 0.9549 MB / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.02567, allocations: 2.243 MB / 278.1 MB, free: 12.49 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.02567, allocations: 4 kB / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.02567, allocations: 0 / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.988e-05/0.02569, allocations: 0 / 278.1 MB, free: 12.48 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.002455/0.02814, allocations: 2.649 MB / 280.8 MB, free: 9.793 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.648e-05/0.02817, allocations: 11.98 kB / 280.8 MB, free: 9.781 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005004/0.02867, allocations: 376.6 kB / 281.2 MB, free: 9.414 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.02971, allocations: 0.9911 MB / 282.1 MB, free: 8.367 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.38e-05/0.0298, allocations: 160.6 kB / 282.3 MB, free: 8.207 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/0.02998, allocations: 208.3 kB / 282.5 MB, free: 8.004 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/0.03149, allocations: 1.625 MB / 284.1 MB, free: 6.266 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.875e-05/0.03153, allocations: 11.94 kB / 284.1 MB, free: 6.254 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.03164, allocations: 84 kB / 284.2 MB, free: 6.172 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.212e-05/0.03171, allocations: 108.2 kB / 284.3 MB, free: 6.062 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008463/0.03256, allocations: 0.6325 MB / 285 MB, free: 5.387 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005086/0.03764, allocations: 5.475 MB / 290.4 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007476/0.03839, allocations: 0.6426 MB / 291.1 MB, free: 15.03 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005127/0.0389, allocations: 430.5 kB / 291.5 MB, free: 14.61 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/0.03904, allocations: 60.97 kB / 291.6 MB, free: 14.55 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.03907, allocations: 43.55 kB / 291.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=101): time 2.124e-06/0.03907, allocations: 0 / 291.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=116): time 0.003713/0.04278, allocations: 2.409 MB / 294 MB, free: 12.05 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.04282, allocations: 68.34 kB / 294.1 MB, free: 11.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006515/0.04347, allocations: 0.9583 MB / 295 MB, free: 11.01 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.053e-05/0.04352, allocations: 41.7 kB / 295.1 MB, free: 10.96 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003495/0.04387, allocations: 0.8928 MB / 296 MB, free: 10.06 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001941/0.04406, allocations: 420.3 kB / 296.4 MB, free: 9.645 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/0.0443, allocations: 243.4 kB / 296.6 MB, free: 9.398 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.672e-05/0.04439, allocations: 365.8 kB / 297 MB, free: 9.035 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.04461, allocations: 162.8 kB / 297.1 MB, free: 8.875 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003726/0.04499, allocations: 0.5392 MB / 297.7 MB, free: 8.172 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007071/0.04569, allocations: 0.8418 MB / 298.5 MB, free: 7.168 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.0457, allocations: 8 kB / 298.5 MB, free: 7.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.001164/0.04686, allocations: 0.9824 MB / 299.5 MB, free: 6.156 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.04688, allocations: 8 kB / 299.5 MB, free: 6.148 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.0469, allocations: 12 kB / 299.5 MB, free: 6.137 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004623/0.04736, allocations: 240 kB / 299.8 MB, free: 5.887 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005988/0.04796, allocations: 299.5 kB / 300.1 MB, free: 5.594 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00272/0.05068, allocations: 4.707 MB / 304.8 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/0.05106, allocations: 51.98 kB / 304.8 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-05/0.05112, allocations: 55.98 kB / 304.9 MB, free: 0.5039 MB / 282.7 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.000288/0.05141, allocations: 196.2 kB / 305.1 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.05156, allocations: 131.8 kB / 305.2 MB, free: 176 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000996/0.05256, allocations: 0.8385 MB / 306 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.05256, allocations: 12 kB / 306 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.05257, allocations: 4 kB / 306 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.05258, allocations: 3.984 kB / 306 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002506/0.05508, allocations: 2.412 MB / 308.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.05509, allocations: 4 kB / 308.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004288/0.05552, allocations: 195.7 kB / 308.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000519/0.05603, allocations: 288 kB / 308.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.236e-05/0.05609, allocations: 35.98 kB / 309 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002947/0.05903, allocations: 5.903 MB / 314.9 MB, free: 5.957 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.05904, allocations: 4 kB / 314.9 MB, free: 5.953 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.06028, allocations: 1.253 MB / 316.1 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002626/0.06054, allocations: 198.9 kB / 316.3 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.06064, allocations: 32 kB / 316.4 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003264/0.06097, allocations: 43.97 kB / 316.4 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.06109, allocations: 96.7 kB / 316.5 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.276e-05/0.06113, allocations: 31.98 kB / 316.5 MB, free: 4.223 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003744/0.06151, allocations: 484.1 kB / 317 MB, free: 3.746 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.06151, allocations: 4 kB / 317 MB, free: 3.742 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008039/0.06231, allocations: 440 kB / 317.4 MB, free: 3.312 MB / 298.7 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002245/0.06254, allocations: 180 kB / 317.6 MB, free: 3.129 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.06366, allocations: 1.128 MB / 318.7 MB, free: 1.965 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.796e-05/0.06368, allocations: 16.5 kB / 318.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008407/0.06452, allocations: 0.9328 MB / 319.7 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007914/0.06531, allocations: 378.5 kB / 320.1 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003836/0.06915, allocations: 3.606 MB / 323.7 MB, free: 12.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.06952, allocations: 0.5012 MB / 324.2 MB, free: 12.37 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004961/0.07002, allocations: 196.7 kB / 324.4 MB, free: 12.17 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008352/0.07085, allocations: 369.1 kB / 324.7 MB, free: 11.8 MB / 314.7 MB Notification: Performance of SimCode: time 1.132e-06/0.07085, allocations: 0 / 324.7 MB, free: 11.8 MB / 314.7 MB Notification: Performance of Templates: time 0.03294/0.1038, allocations: 23.64 MB / 348.4 MB, free: 4.148 MB / 330.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4338979008607566]