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.001417/0.001417, allocations: 84.66 kB / 20.95 MB, free: 3.453 MB / 18.57 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.001482/0.001482, allocations: 153.1 kB / 24.26 MB, free: 152 kB / 18.57 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.501/1.501, allocations: 173.3 MB / 200.8 MB, free: 9.289 MB / 186.7 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.753e-06/1.753e-06, allocations: 0 / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.902e-05/3.077e-05, allocations: 2.312 kB / 267.3 MB, free: 6.699 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.01489/0.01493, allocations: 9.115 MB / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009233/0.02416, allocations: 3.053 MB / 279.5 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002274/0.02643, allocations: 71.56 kB / 279.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00287/0.0293, allocations: 0.6985 MB / 280.3 MB, free: 9.703 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004511/0.03381, allocations: 0.9547 MB / 281.2 MB, free: 8.742 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.03548, allocations: 411.4 kB / 281.6 MB, free: 8.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006817/0.04229, allocations: 3.516 MB / 285.1 MB, free: 4.805 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003668/0.04596, allocations: 1.381 MB / 286.5 MB, free: 3.363 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005791/0.05175, allocations: 2.253 MB / 288.8 MB, free: 1.105 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1601/0.2118, allocations: 1.65 MB / 290.4 MB, free: 17.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001224/0.213, allocations: 397.1 kB / 290.8 MB, free: 17.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00148/0.2145, allocations: 485.2 kB / 291.3 MB, free: 17.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001322/0.2159, allocations: 1.153 MB / 292.4 MB, free: 17.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002582/0.2184, allocations: 1.218 MB / 293.7 MB, free: 17.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007524/0.226, allocations: 5.309 MB / 299 MB, free: 17.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.226, allocations: 0 / 299 MB, free: 17.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.226, allocations: 2.031 kB / 299 MB, free: 17.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001885/0.2262, allocations: 0 / 299 MB, free: 17.55 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: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.01084/0.237, allocations: 3.493 MB / 302.5 MB, free: 15.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.304e-05/0.2371, allocations: 11.05 kB / 302.5 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001715/0.2388, allocations: 0.573 MB / 303 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004646/0.2434, allocations: 1.939 MB / 305 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/0.2436, allocations: 191.8 kB / 305.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004871/0.2441, allocations: 257.7 kB / 305.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007648/0.2517, allocations: 3.637 MB / 309.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.332e-05/0.2518, allocations: 14.73 kB / 309.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003306/0.2521, allocations: 102.3 kB / 309.2 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001268/0.2523, allocations: 115 kB / 309.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006657/0.2589, allocations: 3.087 MB / 312.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0199/0.2788, allocations: 9.569 MB / 321.9 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004033/0.2829, allocations: 2.047 MB / 324 MB, free: 15.38 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003098/0.286, allocations: 1.297 MB / 325.3 MB, free: 14.08 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000233/0.2862, allocations: 60.34 kB / 325.3 MB, free: 14.02 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002096/0.2883, allocations: 1.248 MB / 326.6 MB, free: 12.72 MB / 282.7 MB Notification: Performance of pre-optimization done (n=156): time 3.897e-06/0.2883, allocations: 0 / 326.6 MB, free: 12.72 MB / 282.7 MB Notification: Performance of matching and sorting (n=172): time 0.02286/0.3111, allocations: 8.509 MB / 335.1 MB, free: 4.223 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/0.3113, allocations: 176.2 kB / 335.3 MB, free: 4.016 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002857/0.3141, allocations: 1.704 MB / 337 MB, free: 2.305 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001484/0.3143, allocations: 57.7 kB / 337 MB, free: 2.242 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001382/0.3157, allocations: 1.219 MB / 338.3 MB, free: 1.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006156/0.3163, allocations: 0.5872 MB / 338.8 MB, free: 456 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006599/0.317, allocations: 351.5 kB / 339.2 MB, free: 96 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.3171, allocations: 305.1 kB / 339.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002071/0.3192, allocations: 1.007 MB / 340.5 MB, free: 14.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002331/0.3215, allocations: 1.533 MB / 342 MB, free: 13.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004021/0.3256, allocations: 2.45 MB / 344.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.3256, allocations: 4 kB / 344.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006888/0.3325, allocations: 3.39 MB / 347.9 MB, free: 7.195 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.3325, allocations: 10.97 kB / 347.9 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/0.3325, allocations: 15.98 kB / 347.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002722/0.3352, allocations: 0.9739 MB / 348.9 MB, free: 6.191 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.3366, allocations: 342 kB / 349.2 MB, free: 5.879 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01436/0.3509, allocations: 9.983 MB / 359.2 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/0.3528, allocations: 131.9 kB / 359.3 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/0.353, allocations: 72.06 kB / 359.4 MB, free: 11.43 MB / 314.7 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.001946/0.355, allocations: 0.9303 MB / 360.3 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005738/0.3555, allocations: 260.8 kB / 360.6 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006528/0.3621, allocations: 3.074 MB / 363.6 MB, free: 7.176 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/0.3621, allocations: 16 kB / 363.7 MB, free: 7.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/0.3621, allocations: 8 kB / 363.7 MB, free: 7.152 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.707e-05/0.3621, allocations: 7.969 kB / 363.7 MB, free: 7.145 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01204/0.3742, allocations: 5.571 MB / 369.2 MB, free: 1.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.3742, allocations: 3.938 kB / 369.2 MB, free: 1.566 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000967/0.3751, allocations: 212.6 kB / 369.5 MB, free: 1.371 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002961/0.3781, allocations: 1.013 MB / 370.5 MB, free: 356 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001301/0.3782, allocations: 35.98 kB / 370.5 MB, free: 320 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01602/0.3943, allocations: 11.45 MB / 382 MB, free: 4.496 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3943, allocations: 4.062 kB / 382 MB, free: 4.492 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009052/0.4033, allocations: 4.539 MB / 386.5 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001432/0.4047, allocations: 430.5 kB / 386.9 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003073/0.405, allocations: 39.98 kB / 387 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.4061, allocations: 95.89 kB / 387.1 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005466/0.4066, allocations: 208.7 kB / 387.3 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/0.4068, allocations: 47.98 kB / 387.3 MB, free: 15.13 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001993/0.4088, allocations: 1.15 MB / 388.5 MB, free: 13.98 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4088, allocations: 7.172 kB / 388.5 MB, free: 13.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002205/0.411, allocations: 0.6328 MB / 389.1 MB, free: 13.35 MB / 346.7 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.0004551/0.4114, allocations: 206.1 kB / 389.3 MB, free: 13.15 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005743/0.4172, allocations: 3.009 MB / 392.3 MB, free: 10.13 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4172, allocations: 0 / 392.3 MB, free: 10.13 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003689/0.4209, allocations: 2.098 MB / 394.4 MB, free: 8.008 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/0.4232, allocations: 0.5345 MB / 394.9 MB, free: 7.488 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.4337, allocations: 5.675 MB / 400.6 MB, free: 1.758 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00223/0.4359, allocations: 1.621 MB / 402.2 MB, free: 100 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001524/0.4374, allocations: 432.6 kB / 402.7 MB, free: 15.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004498/0.4379, allocations: 128.4 kB / 402.8 MB, free: 15.55 MB / 362.7 MB Notification: Performance of SimCode: time 1.453e-06/0.4379, allocations: 0 / 402.8 MB, free: 15.55 MB / 362.7 MB Notification: Performance of Templates: time 0.175/0.6129, allocations: 37.63 MB / 440.4 MB, free: 126.4 MB / 378.7 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: 6.403368291910738]