Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.001756/0.001756, allocations: 123.4 kB / 18.46 MB, free: 4.449 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.00212/0.00212, allocations: 192.3 kB / 21.4 MB, free: 1.52 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.424/1.424, allocations: 225.6 MB / 249.8 MB, free: 3.598 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_DOL,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_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,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_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 55.91 kB / 366.8 MB, free: 328 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1056, allocations: 52.14 MB / 419 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01156/0.1172, allocations: 9.439 MB / 428.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005861/0.123, allocations: 2.987 MB / 431.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.1242, allocations: 47.81 kB / 431.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001695/0.1259, allocations: 0.6678 MB / 432.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002476/0.1284, allocations: 0.8001 MB / 432.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008317/0.1292, allocations: 351.5 kB / 433.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003416/0.1326, allocations: 2.661 MB / 435.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002088/0.1347, allocations: 1.526 MB / 437.4 MB, free: 9.477 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00187/0.1366, allocations: 1.199 MB / 438.6 MB, free: 8.273 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002515/0.1391, allocations: 1.526 MB / 440.2 MB, free: 6.742 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005636/0.1397, allocations: 308 kB / 440.5 MB, free: 6.441 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009209/0.1406, allocations: 403.8 kB / 440.8 MB, free: 6.047 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001019/0.1416, allocations: 0.8998 MB / 441.7 MB, free: 5.145 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001844/0.1434, allocations: 1.4 MB / 443.1 MB, free: 3.738 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2038/0.3472, allocations: 4.093 MB / 447.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3472, allocations: 0.5 kB / 447.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3472, allocations: 3.094 kB / 447.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001517/0.3474, allocations: 0.5938 kB / 447.2 MB, free: 15.32 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.00604/0.3534, allocations: 2.921 MB / 450.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.3534, allocations: 9.5 kB / 450.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007555/0.3542, allocations: 299.8 kB / 450.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002709/0.3569, allocations: 1.534 MB / 452 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.357, allocations: 151.8 kB / 452.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000354/0.3574, allocations: 203.3 kB / 452.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005305/0.3627, allocations: 2.74 MB / 455.1 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.026e-05/0.3628, allocations: 7.828 kB / 455.1 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002215/0.363, allocations: 80.84 kB / 455.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002304/0.3632, allocations: 96.67 kB / 455.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005079/0.3683, allocations: 2.329 MB / 457.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01395/0.3822, allocations: 8.336 MB / 465.9 MB, free: 9.637 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/0.3841, allocations: 1.71 MB / 467.6 MB, free: 8.586 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001806/0.3859, allocations: 1.018 MB / 468.7 MB, free: 8.281 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002377/0.3861, allocations: 121.1 kB / 468.8 MB, free: 8.184 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.3862, allocations: 44.41 kB / 468.8 MB, free: 8.137 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 3.988e-06/0.3862, allocations: 1.641 kB / 468.8 MB, free: 8.137 MB / 366.1 MB Notification: Performance of matching and sorting (n=120): time 0.01276/0.3989, allocations: 6.222 MB / 475 MB, free: 5.637 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.399, allocations: 64.78 kB / 475.1 MB, free: 5.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002101/0.4011, allocations: 1.513 MB / 476.6 MB, free: 4.848 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001236/0.4012, allocations: 46.52 kB / 476.7 MB, free: 4.801 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004907/0.4017, allocations: 1.002 MB / 477.7 MB, free: 3.922 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002494/0.4019, allocations: 441.1 kB / 478.1 MB, free: 3.547 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003605/0.4023, allocations: 260.8 kB / 478.4 MB, free: 3.395 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.591e-05/0.4024, allocations: 360.8 kB / 478.7 MB, free: 3.051 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.4034, allocations: 0.7266 MB / 479.4 MB, free: 2.691 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.4044, allocations: 1.064 MB / 480.5 MB, free: 1.918 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00208/0.4065, allocations: 1.873 MB / 482.4 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.4065, allocations: 3.094 kB / 482.4 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003764/0.4103, allocations: 2.349 MB / 484.7 MB, free: 15.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.4103, allocations: 8.219 kB / 484.7 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.4103, allocations: 17.91 kB / 484.8 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009836/0.4113, allocations: 403.3 kB / 485.1 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.4125, allocations: 337.8 kB / 485.5 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005525/0.418, allocations: 5.077 MB / 490.6 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.4194, allocations: 91.86 kB / 490.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/0.4196, allocations: 55.98 kB / 490.7 MB, free: 10.49 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00137/0.421, allocations: 0.7095 MB / 491.4 MB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004386/0.4214, allocations: 179 kB / 491.6 MB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004114/0.4255, allocations: 2.121 MB / 493.7 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.4255, allocations: 12 kB / 493.7 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.4255, allocations: 4 kB / 493.7 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.4256, allocations: 3.984 kB / 493.7 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00895/0.4345, allocations: 4.565 MB / 498.3 MB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.4345, allocations: 0 / 498.3 MB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.4356, allocations: 227.1 kB / 498.5 MB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001383/0.4369, allocations: 462.9 kB / 499 MB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/0.437, allocations: 39.84 kB / 499 MB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007365/0.4444, allocations: 6.671 MB / 0.4938 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/0.4444, allocations: 10.38 kB / 0.4938 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005627/0.45, allocations: 3.183 MB / 0.4969 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/0.4511, allocations: 403.9 kB / 0.4973 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002578/0.4513, allocations: 32 kB / 0.4974 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008904/0.4522, allocations: 72.78 kB / 0.4974 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003072/0.4525, allocations: 112.3 kB / 0.4975 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.444e-05/0.4526, allocations: 35.98 kB / 0.4976 GB, free: 7.207 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001638/0.4543, allocations: 1.044 MB / 0.4986 GB, free: 6.164 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4543, allocations: 0 / 0.4986 GB, free: 6.164 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001661/0.4559, allocations: 463.9 kB / 0.499 GB, free: 5.711 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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.0003996/0.4563, allocations: 193.8 kB / 0.4992 GB, free: 5.523 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003885/0.4602, allocations: 2.202 MB / 0.5014 GB, free: 3.297 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/0.4602, allocations: 4 kB / 0.5014 GB, free: 3.293 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002484/0.4627, allocations: 1.434 MB / 0.5028 GB, free: 1.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/0.465, allocations: 430.4 kB / 0.5032 GB, free: 1.422 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008319/0.4733, allocations: 4.591 MB / 0.5077 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001755/0.4751, allocations: 1.795 MB / 0.5094 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006485/0.4757, allocations: 121.8 kB / 0.5095 GB, free: 10.83 MB / 414.1 MB Notification: Performance of SimCode: time 1.383e-06/0.4757, allocations: 0 / 0.5095 GB, free: 10.83 MB / 414.1 MB Notification: Performance of Templates: time 0.08921/0.5649, allocations: 70.27 MB / 0.5781 GB, free: 4.613 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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: 12.55254081892781]