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.0007913/0.0007913, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.0009881/0.0009881, allocations: 171.6 kB / 25.33 MB, free: 8.598 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.9887/0.9887, allocations: 158.6 MB / 187.2 MB, free: 2.926 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.723e-06/1.723e-06, allocations: 0 / 251.1 MB, free: 7.492 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.192e-05/3.364e-05, allocations: 2.312 kB / 251.1 MB, free: 7.488 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.009219/0.009252, allocations: 9.53 MB / 260.6 MB, free: 13.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006468/0.01572, allocations: 3.113 MB / 263.7 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.01714, allocations: 63.56 kB / 263.8 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001734/0.01888, allocations: 0.6596 MB / 264.4 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002672/0.02155, allocations: 0.842 MB / 265.3 MB, free: 9.215 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.02257, allocations: 399.3 kB / 265.7 MB, free: 8.824 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003256/0.02582, allocations: 2.645 MB / 268.3 MB, free: 6.164 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001788/0.02761, allocations: 1.24 MB / 269.5 MB, free: 4.863 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002431/0.03004, allocations: 1.77 MB / 271.3 MB, free: 3.09 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002325/0.03237, allocations: 1.411 MB / 272.7 MB, free: 1.676 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007398/0.03311, allocations: 323.9 kB / 273 MB, free: 1.359 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008404/0.03395, allocations: 415.8 kB / 273.5 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009385/0.03489, allocations: 0.9504 MB / 274.4 MB, free: 0 / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001565/0.03645, allocations: 0.9822 MB / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003212/0.03966, allocations: 2.305 MB / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.03967, allocations: 0 / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.03967, allocations: 0 / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.055e-05/0.03976, allocations: 0 / 277.7 MB, free: 12.7 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.004968/0.04473, allocations: 3.043 MB / 280.7 MB, free: 9.605 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.04478, allocations: 15.98 kB / 280.7 MB, free: 9.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009552/0.04573, allocations: 479.1 kB / 281.2 MB, free: 9.121 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002169/0.0479, allocations: 1.322 MB / 282.5 MB, free: 7.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004287/0.04833, allocations: 160.6 kB / 282.7 MB, free: 7.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002876/0.04862, allocations: 212.3 kB / 282.9 MB, free: 7.383 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003096/0.05172, allocations: 1.732 MB / 284.6 MB, free: 5.531 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.734e-05/0.05177, allocations: 11.89 kB / 284.6 MB, free: 5.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001632/0.05194, allocations: 88 kB / 284.7 MB, free: 5.434 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001181/0.05205, allocations: 104.2 kB / 284.8 MB, free: 5.328 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002055/0.05411, allocations: 0.7974 MB / 285.6 MB, free: 4.508 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01009/0.0642, allocations: 6.998 MB / 292.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.06554, allocations: 0.665 MB / 293.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009153/0.06646, allocations: 0.4935 MB / 293.8 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000204/0.06666, allocations: 52.97 kB / 293.8 MB, free: 12.04 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.0667, allocations: 54.31 kB / 293.9 MB, free: 11.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=101): time 5.25e-06/0.06671, allocations: 7.984 kB / 293.9 MB, free: 11.97 MB / 282.7 MB Notification: Performance of matching and sorting (n=116): time 0.006303/0.07301, allocations: 3.109 MB / 297 MB, free: 8.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.07306, allocations: 76.22 kB / 297.1 MB, free: 8.734 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.07425, allocations: 1.173 MB / 298.3 MB, free: 7.555 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.106e-05/0.07431, allocations: 45.7 kB / 298.3 MB, free: 7.504 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005833/0.07489, allocations: 1.128 MB / 299.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002765/0.07517, allocations: 436.4 kB / 299.9 MB, free: 5.934 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002679/0.07544, allocations: 265.1 kB / 300.1 MB, free: 5.664 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.0756, allocations: 0.5394 MB / 300.7 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003994/0.076, allocations: 223.8 kB / 300.9 MB, free: 4.898 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006076/0.07661, allocations: 0.756 MB / 301.6 MB, free: 3.922 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.07779, allocations: 1.104 MB / 302.7 MB, free: 2.594 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.0778, allocations: 4 kB / 302.7 MB, free: 2.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.002148/0.07995, allocations: 1.32 MB / 304.1 MB, free: 1.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.07998, allocations: 12 kB / 304.1 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/0.08, allocations: 12 kB / 304.1 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005735/0.08057, allocations: 258.7 kB / 304.3 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006671/0.08124, allocations: 323.5 kB / 304.6 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004443/0.08568, allocations: 6.606 MB / 311.3 MB, free: 9.668 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006878/0.08637, allocations: 91.86 kB / 311.3 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.558e-05/0.08645, allocations: 60 kB / 311.4 MB, free: 9.52 MB / 298.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.0005393/0.08698, allocations: 248.1 kB / 311.6 MB, free: 9.266 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002396/0.08722, allocations: 195 kB / 311.8 MB, free: 9.074 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/0.08874, allocations: 1.077 MB / 312.9 MB, free: 7.965 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/0.08875, allocations: 12 kB / 312.9 MB, free: 7.953 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.08876, allocations: 7.938 kB / 312.9 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.08877, allocations: 7.969 kB / 312.9 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003993/0.09276, allocations: 3.028 MB / 316 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.09277, allocations: 3.938 kB / 316 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004811/0.09325, allocations: 203.7 kB / 316.2 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006611/0.09391, allocations: 305.6 kB / 316.5 MB, free: 4.262 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.365e-05/0.09398, allocations: 39.97 kB / 316.5 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005413/0.0994, allocations: 8.406 MB / 324.9 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.0994, allocations: 8 kB / 324.9 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002774/0.1022, allocations: 1.626 MB / 326.5 MB, free: 9.598 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005345/0.1027, allocations: 282.9 kB / 326.8 MB, free: 9.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.1028, allocations: 31.94 kB / 326.9 MB, free: 9.289 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000418/0.1032, allocations: 75.91 kB / 326.9 MB, free: 9.215 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/0.1034, allocations: 104.7 kB / 327 MB, free: 9.109 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-05/0.1035, allocations: 35.98 kB / 327.1 MB, free: 9.074 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008229/0.1043, allocations: 0.692 MB / 327.8 MB, free: 8.379 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1043, allocations: 4 kB / 327.8 MB, free: 8.375 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001365/0.1057, allocations: 459.9 kB / 328.2 MB, free: 7.926 MB / 314.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%), (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.0003428/0.106, allocations: 189 kB / 328.4 MB, free: 7.734 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001779/0.1078, allocations: 1.472 MB / 329.9 MB, free: 6.215 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.1078, allocations: 4.062 kB / 329.9 MB, free: 6.211 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.109, allocations: 1.272 MB / 331.1 MB, free: 4.863 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.11, allocations: 372.2 kB / 331.5 MB, free: 4.504 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005849/0.1159, allocations: 3.832 MB / 335.3 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005209/0.1164, allocations: 0.5637 MB / 335.9 MB, free: 15.96 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006395/0.117, allocations: 288.4 kB / 336.2 MB, free: 15.67 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/0.1173, allocations: 108.5 kB / 336.3 MB, free: 15.57 MB / 330.7 MB Notification: Performance of SimCode: time 1.884e-06/0.1173, allocations: 0 / 336.3 MB, free: 15.57 MB / 330.7 MB Notification: Performance of Templates: time 0.1438/0.2611, allocations: 23.28 MB / 359.6 MB, free: 91.3 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 -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.90756409894675]