Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00142/0.00142, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001592/0.001592, allocations: 157.8 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.405e-05, allocations: 6.219 kB / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01123/0.01125, allocations: 8.385 MB / 333.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006296/0.01755, allocations: 2.878 MB / 336.3 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.01897, allocations: 64.31 kB / 336.4 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.02083, allocations: 0.6294 MB / 337 MB, free: 8.008 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003421/0.02425, allocations: 0.8485 MB / 337.8 MB, free: 7.297 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.02546, allocations: 364.7 kB / 338.2 MB, free: 6.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005127/0.03059, allocations: 2.774 MB / 341 MB, free: 5.062 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00188/0.03247, allocations: 1.121 MB / 342.1 MB, free: 3.887 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003617/0.03609, allocations: 1.785 MB / 343.9 MB, free: 2.094 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002636/0.03872, allocations: 1.329 MB / 345.2 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000649/0.03937, allocations: 308 kB / 345.5 MB, free: 472 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009557/0.04033, allocations: 399.8 kB / 345.9 MB, free: 72 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001119/0.04144, allocations: 0.9232 MB / 346.8 MB, free: 15.14 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001575/0.04302, allocations: 0.9705 MB / 347.8 MB, free: 14.17 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005196/0.04822, allocations: 4.164 MB / 351.9 MB, free: 9.996 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.04822, allocations: 0 / 351.9 MB, free: 9.996 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.04823, allocations: 3.938 kB / 351.9 MB, free: 9.992 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001154/0.04834, allocations: 0 / 351.9 MB, free: 9.992 MB / 318.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.006994/0.05533, allocations: 2.834 MB / 354.8 MB, free: 7.109 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.202e-05/0.0554, allocations: 11.98 kB / 354.8 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.05662, allocations: 335.1 kB / 355.1 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003098/0.05972, allocations: 1.499 MB / 356.6 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/0.05987, allocations: 152.4 kB / 356.8 MB, free: 5.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004755/0.06035, allocations: 208.3 kB / 357 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005424/0.06577, allocations: 2.837 MB / 359.8 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.987e-05/0.06583, allocations: 3.953 kB / 359.8 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002233/0.06606, allocations: 95.92 kB / 359.9 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001242/0.06618, allocations: 95.92 kB / 360 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004671/0.07085, allocations: 2.326 MB / 362.3 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01543/0.08629, allocations: 7.242 MB / 369.6 MB, free: 7.941 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00215/0.08844, allocations: 1.243 MB / 370.8 MB, free: 6.688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00212/0.09056, allocations: 1.024 MB / 371.8 MB, free: 5.664 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002565/0.09081, allocations: 40.97 kB / 371.9 MB, free: 5.625 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.09086, allocations: 43.56 kB / 371.9 MB, free: 5.574 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 3.517e-06/0.09086, allocations: 0 / 371.9 MB, free: 5.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.0149/0.1058, allocations: 5.905 MB / 377.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.81e-05/0.1058, allocations: 68.34 kB / 377.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002456/0.1083, allocations: 1.405 MB / 379.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001201/0.1084, allocations: 41.7 kB / 379.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008862/0.1093, allocations: 1.032 MB / 380.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004251/0.1097, allocations: 428.3 kB / 380.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004488/0.1102, allocations: 247.5 kB / 381 MB, free: 12.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.1104, allocations: 365.9 kB / 381.4 MB, free: 12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.1117, allocations: 0.73 MB / 382.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/0.1132, allocations: 1.059 MB / 383.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002962/0.1162, allocations: 1.871 MB / 385 MB, free: 8.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.789e-06/0.1162, allocations: 4 kB / 385 MB, free: 8.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004914/0.1211, allocations: 2.338 MB / 387.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/0.1212, allocations: 11.94 kB / 387.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.666e-05/0.1212, allocations: 12 kB / 387.4 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.1223, allocations: 407 kB / 387.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.1237, allocations: 335.6 kB / 388.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006228/0.1299, allocations: 4.768 MB / 392.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.1314, allocations: 95.88 kB / 393 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/0.1316, allocations: 52 kB / 393 MB, free: 15.84 MB / 366.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.00181/0.1334, allocations: 0.712 MB / 393.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005473/0.1339, allocations: 163 kB / 393.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004443/0.1384, allocations: 2.117 MB / 396 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.1384, allocations: 12 kB / 396 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.1384, allocations: 4 kB / 396.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.1384, allocations: 11.91 kB / 396.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00921/0.1476, allocations: 4.051 MB / 400.1 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.1477, allocations: 4 kB / 400.1 MB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.1487, allocations: 215.7 kB / 400.3 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001416/0.1501, allocations: 474.6 kB / 400.8 MB, free: 7.957 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/0.1503, allocations: 31.97 kB / 400.8 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008074/0.1583, allocations: 6.264 MB / 407.1 MB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.1583, allocations: 0 / 407.1 MB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006654/0.165, allocations: 3.173 MB / 410.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/0.166, allocations: 314.8 kB / 410.6 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004534/0.1665, allocations: 27.98 kB / 410.6 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.1676, allocations: 75.91 kB / 410.7 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003381/0.1679, allocations: 108.7 kB / 410.8 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-05/0.168, allocations: 36 kB / 410.8 MB, free: 13.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001954/0.17, allocations: 0.9509 MB / 411.8 MB, free: 12.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.17, allocations: 0 / 411.8 MB, free: 12.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002005/0.172, allocations: 459.9 kB / 412.2 MB, free: 12.17 MB / 382.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.0005053/0.1725, allocations: 197.2 kB / 412.4 MB, free: 11.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004148/0.1766, allocations: 2.037 MB / 414.4 MB, free: 9.898 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.1766, allocations: 0.625 kB / 414.4 MB, free: 9.898 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002634/0.1793, allocations: 1.358 MB / 415.8 MB, free: 8.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002495/0.1818, allocations: 386.7 kB / 416.2 MB, free: 8.129 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009411/0.1912, allocations: 4.368 MB / 420.5 MB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002175/0.1933, allocations: 1.253 MB / 421.8 MB, free: 2.398 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001445/0.1948, allocations: 384.4 kB / 422.2 MB, free: 2.016 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005307/0.1953, allocations: 108.5 kB / 422.3 MB, free: 1.91 MB / 382.1 MB Notification: Performance of SimCode: time 1.203e-06/0.1953, allocations: 0 / 422.3 MB, free: 1.91 MB / 382.1 MB Notification: Performance of Templates: time 0.05077/0.2461, allocations: 24.54 MB / 446.8 MB, free: 9.664 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.542268291115761]