Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 80.95 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 146.4 kB / 23.93 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 173.4 MB / 200.4 MB, free: 12.84 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 318.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.472e-05, allocations: 9.031 kB / 318.9 MB, free: 3.539 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.009179/0.009203, allocations: 7.902 MB / 326.8 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006365/0.01557, allocations: 2.702 MB / 329.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.01697, allocations: 56.78 kB / 329.6 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001792/0.01876, allocations: 0.5982 MB / 330.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002984/0.02174, allocations: 0.7905 MB / 331 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009035/0.02265, allocations: 333 kB / 331.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003784/0.02643, allocations: 2.444 MB / 333.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001812/0.02824, allocations: 0.9874 MB / 334.7 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002901/0.03114, allocations: 1.577 MB / 336.3 MB, free: 8.473 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002114/0.03326, allocations: 1.181 MB / 337.5 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004766/0.03373, allocations: 278.3 kB / 337.8 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008734/0.03461, allocations: 363.9 kB / 338.1 MB, free: 7.727 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009284/0.03554, allocations: 0.8337 MB / 339 MB, free: 7.098 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001418/0.03695, allocations: 0.8665 MB / 339.8 MB, free: 6.598 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005133/0.04209, allocations: 3.732 MB / 343.6 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.354e-05/0.0421, allocations: 4 kB / 343.6 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.0421, allocations: 0 / 343.6 MB, free: 2.934 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001115/0.04221, allocations: 0 / 343.6 MB, free: 2.934 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.006321/0.04854, allocations: 2.541 MB / 346.1 MB, free: 360 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.04858, allocations: 12.92 kB / 346.1 MB, free: 348 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007609/0.04934, allocations: 267.4 kB / 346.4 MB, free: 80 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002793/0.05213, allocations: 1.329 MB / 347.7 MB, free: 14.71 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.05225, allocations: 136 kB / 347.8 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003375/0.05259, allocations: 188.3 kB / 348 MB, free: 14.39 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004493/0.05708, allocations: 2.514 MB / 350.5 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.019e-05/0.05714, allocations: 3.938 kB / 350.5 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001908/0.05733, allocations: 79.98 kB / 350.6 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001024/0.05743, allocations: 83.5 kB / 350.7 MB, free: 11.65 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003643/0.06107, allocations: 2.016 MB / 352.7 MB, free: 9.633 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01152/0.0726, allocations: 6.39 MB / 359.1 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.07448, allocations: 1 MB / 360.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001839/0.07632, allocations: 0.8655 MB / 361 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002127/0.07653, allocations: 44.97 kB / 361 MB, free: 1.117 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/0.07657, allocations: 39.56 kB / 361.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 2.565e-06/0.07658, allocations: 0 / 361.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.01033/0.08691, allocations: 4.66 MB / 365.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/0.08697, allocations: 60.41 kB / 365.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002066/0.08903, allocations: 1.237 MB / 367 MB, free: 11.05 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.08914, allocations: 49.7 kB / 367.1 MB, free: 11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008186/0.08996, allocations: 0.9219 MB / 368 MB, free: 10.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003818/0.09034, allocations: 376.8 kB / 368.3 MB, free: 9.695 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003918/0.09073, allocations: 206.9 kB / 368.6 MB, free: 9.488 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.09094, allocations: 353.9 kB / 368.9 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.09203, allocations: 0.631 MB / 369.5 MB, free: 8.504 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/0.0934, allocations: 0.9259 MB / 370.5 MB, free: 7.457 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00253/0.09593, allocations: 1.649 MB / 372.1 MB, free: 5.688 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.09594, allocations: 4 kB / 372.1 MB, free: 5.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004727/0.1007, allocations: 2.36 MB / 374.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.1007, allocations: 15.94 kB / 374.5 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/0.1007, allocations: 11.98 kB / 374.5 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002041/0.1028, allocations: 0.7156 MB / 375.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009539/0.1037, allocations: 231.6 kB / 375.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01236/0.1161, allocations: 8.376 MB / 383.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.1174, allocations: 83.88 kB / 383.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.1175, allocations: 48.14 kB / 383.9 MB, free: 9.625 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001279/0.1188, allocations: 0.6262 MB / 384.6 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003319/0.1191, allocations: 139 kB / 384.7 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003571/0.1227, allocations: 1.881 MB / 386.6 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.1227, allocations: 12 kB / 386.6 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.1227, allocations: 4 kB / 386.6 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.628e-05/0.1227, allocations: 7.922 kB / 386.6 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006585/0.1293, allocations: 3.521 MB / 390.1 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.1293, allocations: 7.984 kB / 390.1 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008376/0.1302, allocations: 180 kB / 390.3 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001279/0.1314, allocations: 458.9 kB / 390.8 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.498e-05/0.1315, allocations: 31.97 kB / 390.8 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007181/0.1387, allocations: 6.274 MB / 397.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.1387, allocations: 7.875 kB / 397.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00478/0.1435, allocations: 2.744 MB / 399.8 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007607/0.1443, allocations: 275 kB / 400.1 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/0.1444, allocations: 24 kB / 400.1 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007823/0.1452, allocations: 71.92 kB / 400.2 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000254/0.1455, allocations: 92.75 kB / 400.3 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.723e-05/0.1456, allocations: 31.92 kB / 400.3 MB, free: 8.785 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001345/0.1469, allocations: 0.8454 MB / 401.1 MB, free: 7.934 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1469, allocations: 0 / 401.1 MB, free: 7.934 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00143/0.1483, allocations: 432 kB / 401.6 MB, free: 7.512 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (84): * Single equations (assignments): 80 * 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 {(2,12,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.0003753/0.1487, allocations: 186.3 kB / 401.8 MB, free: 7.324 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003518/0.1522, allocations: 1.938 MB / 403.7 MB, free: 5.359 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.1522, allocations: 0 / 403.7 MB, free: 5.359 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002166/0.1544, allocations: 1.229 MB / 404.9 MB, free: 4.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/0.1561, allocations: 319.5 kB / 405.2 MB, free: 3.781 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008978/0.165, allocations: 3.878 MB / 409.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001981/0.167, allocations: 1.114 MB / 410.2 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001382/0.1684, allocations: 291 kB / 410.5 MB, free: 14.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004524/0.1689, allocations: 88.48 kB / 410.6 MB, free: 14.31 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.1689, allocations: 0 / 410.6 MB, free: 14.31 MB / 382.1 MB Notification: Performance of Templates: time 0.05791/0.2268, allocations: 22.91 MB / 433.5 MB, free: 7.684 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.231723461300135]