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.001425/0.001425, allocations: 77.06 kB / 10.02 MB, free: 0.668 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00202/0.003445, allocations: 449.9 kB / 10.45 MB, free: 236 kB / 10.45 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.00155/0.00155, allocations: 161.1 kB / 11.36 MB, free: 2.809 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001991/0.003541, allocations: 479.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.8402/0.8402, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1559/0.996, allocations: 49.49 MB / 220.7 MB, free: 1.359 MB / 218.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.223e-06/1.223e-06, allocations: 0 / 222 MB, free: 52 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058e-05/1.18e-05, allocations: 6.312 kB / 222 MB, free: 44 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.008997/0.009009, allocations: 9.383 MB / 231.4 MB, free: 6.613 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004713/0.01372, allocations: 3.232 MB / 234.6 MB, free: 3.363 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007292/0.01445, allocations: 63.56 kB / 234.7 MB, free: 3.301 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.01549, allocations: 0.6751 MB / 235.4 MB, free: 2.621 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00132/0.01681, allocations: 0.8342 MB / 236.2 MB, free: 1.781 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005613/0.01737, allocations: 403.3 kB / 236.6 MB, free: 1.387 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002037/0.01941, allocations: 2.661 MB / 239.2 MB, free: 14.71 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.02058, allocations: 1.279 MB / 240.5 MB, free: 13.36 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002302/0.02288, allocations: 2.157 MB / 242.7 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001831/0.02471, allocations: 1.325 MB / 244 MB, free: 9.852 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005528/0.02527, allocations: 304 kB / 244.3 MB, free: 9.555 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006315/0.0259, allocations: 411.7 kB / 244.7 MB, free: 9.152 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006028/0.0265, allocations: 0.7442 MB / 245.5 MB, free: 8.406 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008949/0.0274, allocations: 0.7876 MB / 246.2 MB, free: 7.617 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001722/0.02912, allocations: 2.095 MB / 248.3 MB, free: 5.516 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.139e-05/0.02913, allocations: 0 / 248.3 MB, free: 5.516 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.02913, allocations: 0 / 248.3 MB, free: 5.516 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.358e-05/0.02917, allocations: 0 / 248.3 MB, free: 5.516 MB / 250.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.003248/0.03242, allocations: 3.152 MB / 251.5 MB, free: 2.32 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.03245, allocations: 8.031 kB / 251.5 MB, free: 2.312 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006119/0.03306, allocations: 457.7 kB / 251.9 MB, free: 1.848 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.03423, allocations: 0.9949 MB / 252.9 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.03433, allocations: 160.6 kB / 253.1 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002033/0.03454, allocations: 212.3 kB / 253.3 MB, free: 440 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.03618, allocations: 1.625 MB / 254.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.903e-05/0.03622, allocations: 3.953 kB / 254.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/0.03634, allocations: 99.97 kB / 255 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.386e-05/0.03641, allocations: 100.2 kB / 255.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008716/0.03729, allocations: 0.6325 MB / 255.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005287/0.04257, allocations: 5.502 MB / 261.3 MB, free: 8.082 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007549/0.04333, allocations: 0.6427 MB / 261.9 MB, free: 7.426 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005004/0.04383, allocations: 422.6 kB / 262.3 MB, free: 7.008 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/0.04397, allocations: 56.95 kB / 262.4 MB, free: 6.953 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.04399, allocations: 47.55 kB / 262.4 MB, free: 6.898 MB / 266.7 MB Notification: Performance of pre-optimization done (n=101): time 2.074e-06/0.044, allocations: 0 / 262.4 MB, free: 6.898 MB / 266.7 MB Notification: Performance of matching and sorting (n=116): time 0.003641/0.04764, allocations: 2.444 MB / 264.9 MB, free: 4.422 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.04766, allocations: 68.34 kB / 264.9 MB, free: 4.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006301/0.04829, allocations: 0.9583 MB / 265.9 MB, free: 3.375 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.284e-05/0.04835, allocations: 49.64 kB / 265.9 MB, free: 3.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003359/0.04868, allocations: 0.8889 MB / 266.8 MB, free: 2.418 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.04888, allocations: 424.3 kB / 267.2 MB, free: 2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/0.0491, allocations: 239.4 kB / 267.5 MB, free: 1.762 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.863e-05/0.04919, allocations: 361.8 kB / 267.8 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.0494, allocations: 170.8 kB / 268 MB, free: 1.234 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003676/0.04977, allocations: 0.5276 MB / 268.5 MB, free: 0.543 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007157/0.05049, allocations: 0.8847 MB / 269.4 MB, free: 15.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.05049, allocations: 4 kB / 269.4 MB, free: 15.49 MB / 282.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.00108/0.05157, allocations: 0.9741 MB / 270.4 MB, free: 14.49 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.05158, allocations: 8 kB / 270.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.05159, allocations: 12 kB / 270.4 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004448/0.05204, allocations: 247.9 kB / 270.6 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006076/0.05265, allocations: 327.5 kB / 271 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002558/0.0552, allocations: 4.727 MB / 275.7 MB, free: 8.891 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003686/0.05557, allocations: 47.98 kB / 275.7 MB, free: 8.844 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.963e-05/0.05563, allocations: 47.98 kB / 275.8 MB, free: 8.797 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.0002707/0.0559, allocations: 200.2 kB / 276 MB, free: 8.59 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.05605, allocations: 139.8 kB / 276.1 MB, free: 8.453 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009546/0.05701, allocations: 0.8262 MB / 276.9 MB, free: 7.602 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.05701, allocations: 12.05 kB / 277 MB, free: 7.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.05702, allocations: 7.984 kB / 277 MB, free: 7.582 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.05702, allocations: 3.984 kB / 277 MB, free: 7.578 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002603/0.05963, allocations: 2.404 MB / 279.4 MB, free: 5.066 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.05963, allocations: 4 kB / 279.4 MB, free: 5.062 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004557/0.06009, allocations: 212.2 kB / 279.6 MB, free: 4.855 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002471/0.06033, allocations: 190.9 kB / 279.8 MB, free: 4.668 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005121/0.06085, allocations: 301.8 kB / 280.1 MB, free: 4.359 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.013e-05/0.0609, allocations: 39.98 kB / 280.1 MB, free: 4.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09555/0.1564, allocations: 5.896 MB / 286 MB, free: 45.15 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.1565, allocations: 7.844 kB / 286 MB, free: 45.15 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.158, allocations: 1.245 MB / 287.2 MB, free: 44.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.1582, allocations: 36.38 kB / 287.3 MB, free: 44.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003534/0.1585, allocations: 42.23 kB / 287.3 MB, free: 44.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/0.1587, allocations: 106 kB / 287.4 MB, free: 44.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.772e-05/0.1587, allocations: 27.25 kB / 287.5 MB, free: 44.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004994/0.1592, allocations: 480.3 kB / 287.9 MB, free: 44.72 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1592, allocations: 1.422 kB / 287.9 MB, free: 44.72 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001056/0.1603, allocations: 447.5 kB / 288.4 MB, free: 44.72 MB / 282.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.0002605/0.1606, allocations: 176 kB / 288.5 MB, free: 44.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00121/0.1618, allocations: 1.161 MB / 289.7 MB, free: 44.27 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-05/0.1618, allocations: 28.73 kB / 289.7 MB, free: 44.27 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008386/0.1626, allocations: 0.9967 MB / 290.7 MB, free: 43.8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.164, allocations: 3.419 MB / 294.1 MB, free: 40.38 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0133/0.1773, allocations: 3.766 MB / 297.9 MB, free: 38.75 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004949/0.1778, allocations: 0.4998 MB / 298.4 MB, free: 38.65 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005158/0.1783, allocations: 199 kB / 298.6 MB, free: 38.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005608/0.1789, allocations: 379.6 kB / 299 MB, free: 38.56 MB / 282.7 MB Notification: Performance of SimCode: time 1.222e-06/0.1789, allocations: 0 / 299 MB, free: 38.56 MB / 282.7 MB Notification: Performance of Templates: time 0.02385/0.2028, allocations: 24.36 MB / 323.3 MB, free: 20.8 MB / 282.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.136006060987711]