Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.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.001407/0.001407, allocations: 80.98 kB / 20.67 MB, free: 1.035 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.001441/0.001441, allocations: 147.1 kB / 23.94 MB, free: 4.176 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.433/1.433, allocations: 173.3 MB / 200.4 MB, free: 12.87 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_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,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_YD") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,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_YD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 318.9 MB, free: 3.527 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.82e-05, allocations: 6.281 kB / 318.9 MB, free: 3.52 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.01074/0.01076, allocations: 9.097 MB / 328 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007645/0.01841, allocations: 3.039 MB / 331.1 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001976/0.02039, allocations: 68.91 kB / 331.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002378/0.02276, allocations: 0.6986 MB / 331.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004021/0.02679, allocations: 0.9589 MB / 332.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.02822, allocations: 411 kB / 333.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006746/0.03497, allocations: 3.522 MB / 336.7 MB, free: 7.945 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002954/0.03792, allocations: 1.38 MB / 338.1 MB, free: 7.055 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004779/0.0427, allocations: 2.258 MB / 340.4 MB, free: 5.617 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003361/0.04606, allocations: 1.655 MB / 342 MB, free: 4.457 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006815/0.04675, allocations: 396 kB / 342.4 MB, free: 4.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.04797, allocations: 491.8 kB / 342.9 MB, free: 3.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00128/0.04925, allocations: 1.149 MB / 344 MB, free: 2.434 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001936/0.05119, allocations: 1.22 MB / 345.3 MB, free: 1.211 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006394/0.05758, allocations: 5.297 MB / 350.5 MB, free: 11.9 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.05759, allocations: 4 kB / 350.6 MB, free: 11.89 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.05759, allocations: 4 kB / 350.6 MB, free: 11.89 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001123/0.05771, allocations: 3.938 kB / 350.6 MB, free: 11.89 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: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.008181/0.06589, allocations: 3.5 MB / 354.1 MB, free: 8.336 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.06594, allocations: 12.92 kB / 354.1 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009121/0.06685, allocations: 370.8 kB / 354.4 MB, free: 7.961 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003601/0.07045, allocations: 1.858 MB / 356.3 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001951/0.07065, allocations: 197.4 kB / 356.5 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004042/0.07105, allocations: 252.4 kB / 356.7 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006677/0.07773, allocations: 3.647 MB / 360.4 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.415e-05/0.0778, allocations: 15.88 kB / 360.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002944/0.0781, allocations: 100 kB / 360.5 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000201/0.0783, allocations: 116.9 kB / 360.6 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005915/0.08421, allocations: 3.084 MB / 363.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01974/0.104, allocations: 9.437 MB / 373.1 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003667/0.1076, allocations: 2.04 MB / 375.2 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002571/0.1102, allocations: 1.305 MB / 376.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002501/0.1104, allocations: 53.22 kB / 376.5 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00207/0.1125, allocations: 1.245 MB / 377.8 MB, free: 144 kB / 334.1 MB Notification: Performance of pre-optimization done (n=156): time 4.449e-06/0.1125, allocations: 0 / 377.8 MB, free: 144 kB / 334.1 MB Notification: Performance of matching and sorting (n=172): time 0.02289/0.1354, allocations: 8.428 MB / 386.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/0.1355, allocations: 176.2 kB / 386.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003439/0.139, allocations: 1.711 MB / 388.1 MB, free: 5.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001615/0.1391, allocations: 57.7 kB / 388.1 MB, free: 5.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001439/0.1406, allocations: 1.225 MB / 389.4 MB, free: 4.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006385/0.1412, allocations: 0.5772 MB / 389.9 MB, free: 3.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007241/0.1419, allocations: 347.5 kB / 390.3 MB, free: 3.504 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1421, allocations: 305.1 kB / 390.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001889/0.144, allocations: 0.9994 MB / 391.6 MB, free: 2.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00237/0.1463, allocations: 1.527 MB / 393.1 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004166/0.1505, allocations: 2.458 MB / 395.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-05/0.1505, allocations: 4 kB / 395.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006726/0.1573, allocations: 3.308 MB / 398.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.1573, allocations: 12 kB / 398.9 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/0.1573, allocations: 8.531 kB / 398.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002377/0.1597, allocations: 0.8892 MB / 399.8 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.1611, allocations: 335.5 kB / 400.1 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01419/0.1753, allocations: 9.955 MB / 410.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002001/0.1773, allocations: 139.9 kB / 410.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000372/0.1776, allocations: 64 kB / 410.3 MB, free: 14.84 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 24 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,switchYD.logicalDelay[3].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.idealOpener.control[3],switchYD.idealOpener.control[2],switchYD.idealOpener.control[1],switchYD.idealCloser.control[3],switchYD.idealCloser.control[2],switchYD.idealCloser.control[1],idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(2,12,100.0%), (9,25,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00246/0.1801, allocations: 0.9175 MB / 411.2 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000736/0.1808, allocations: 202.7 kB / 411.4 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006699/0.1875, allocations: 3.075 MB / 414.5 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/0.1876, allocations: 20.19 kB / 414.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.981e-05/0.1876, allocations: 8 kB / 414.5 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-05/0.1876, allocations: 15.91 kB / 414.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/0.2007, allocations: 5.548 MB / 420 MB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.2008, allocations: 12.06 kB / 420.1 MB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.2018, allocations: 215.7 kB / 420.3 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002641/0.2044, allocations: 0.925 MB / 421.2 MB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002108/0.2046, allocations: 43.98 kB / 421.2 MB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01525/0.2199, allocations: 11.4 MB / 432.6 MB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.2199, allocations: 4 kB / 432.6 MB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008653/0.2285, allocations: 4.48 MB / 437.1 MB, free: 3.371 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00134/0.2299, allocations: 422.5 kB / 437.5 MB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005123/0.2304, allocations: 36 kB / 437.6 MB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.2317, allocations: 111.8 kB / 437.7 MB, free: 2.812 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005796/0.2323, allocations: 196.9 kB / 437.9 MB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/0.2324, allocations: 47.98 kB / 437.9 MB, free: 2.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002377/0.2348, allocations: 1.153 MB / 439.1 MB, free: 1.422 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2348, allocations: 4 kB / 439.1 MB, free: 1.418 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003045/0.2378, allocations: 0.6288 MB / 439.7 MB, free: 0.7891 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: 21 (booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[3].tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (9,25,33.3%), (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.0005076/0.2383, allocations: 217.5 kB / 439.9 MB, free: 0.5664 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00599/0.2443, allocations: 3.002 MB / 442.9 MB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.2443, allocations: 0 / 442.9 MB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004237/0.2486, allocations: 2.096 MB / 445 MB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003656/0.2522, allocations: 0.5178 MB / 445.5 MB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/0.2655, allocations: 5.575 MB / 451.1 MB, free: 5.215 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003215/0.2687, allocations: 1.629 MB / 452.7 MB, free: 3.551 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001862/0.2706, allocations: 436.5 kB / 453.2 MB, free: 3.121 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006609/0.2712, allocations: 128.5 kB / 453.3 MB, free: 2.996 MB / 414.1 MB Notification: Performance of SimCode: time 1.764e-06/0.2712, allocations: 0 / 453.3 MB, free: 2.996 MB / 414.1 MB Notification: Performance of Templates: time 0.2319/0.5031, allocations: 37.5 MB / 490.8 MB, free: 123.5 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_YD/IMC_YD.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.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: 10.022915545850992]