Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.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.0008565/0.0008565, allocations: 92.27 kB / 21.44 MB, free: 3.098 MB / 18.57 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.001049/0.001049, allocations: 154.1 kB / 24.7 MB, free: 9.434 MB / 18.57 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 0.8552/0.8552, allocations: 177 MB / 204.9 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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_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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.262e-05, allocations: 3.125 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.007327/0.00735, allocations: 9.158 MB / 335 MB, free: 6.176 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004224/0.01157, allocations: 3.12 MB / 338.1 MB, free: 3.043 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006643/0.01224, allocations: 71.5 kB / 338.1 MB, free: 2.973 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.01329, allocations: 0.6907 MB / 338.8 MB, free: 2.277 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.01467, allocations: 0.9625 MB / 339.8 MB, free: 1.309 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005015/0.01518, allocations: 431.3 kB / 340.2 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002271/0.01745, allocations: 3.558 MB / 343.8 MB, free: 13.31 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.01859, allocations: 1.377 MB / 345.2 MB, free: 11.88 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001604/0.0202, allocations: 2.265 MB / 347.4 MB, free: 9.605 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001662/0.02186, allocations: 1.672 MB / 349.1 MB, free: 7.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003085/0.02217, allocations: 396 kB / 349.5 MB, free: 7.543 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005179/0.02269, allocations: 0.4919 MB / 350 MB, free: 7.051 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006294/0.02332, allocations: 1.153 MB / 351.1 MB, free: 5.895 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007972/0.02411, allocations: 1.224 MB / 352.3 MB, free: 4.668 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003323/0.02744, allocations: 5.313 MB / 357.7 MB, free: 15.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.02744, allocations: 4 kB / 357.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.02744, allocations: 3.938 kB / 357.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.863e-05/0.02748, allocations: 0 / 357.7 MB, free: 15.33 MB / 330.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.003714/0.03119, allocations: 3.515 MB / 361.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.03124, allocations: 12.03 kB / 361.2 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006265/0.03186, allocations: 406.7 kB / 361.6 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00226/0.03412, allocations: 1.874 MB / 363.5 MB, free: 9.441 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.03422, allocations: 197.4 kB / 363.7 MB, free: 9.246 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002419/0.03447, allocations: 260.3 kB / 363.9 MB, free: 8.992 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003545/0.03801, allocations: 3.639 MB / 367.5 MB, free: 5.227 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.329e-05/0.03805, allocations: 7.891 kB / 367.6 MB, free: 5.219 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001629/0.03822, allocations: 108 kB / 367.7 MB, free: 5.113 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.398e-05/0.03829, allocations: 108.9 kB / 367.8 MB, free: 5.004 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003491/0.04178, allocations: 3.087 MB / 370.9 MB, free: 1.902 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009456/0.05124, allocations: 9.441 MB / 380.3 MB, free: 8.207 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001868/0.05311, allocations: 2.036 MB / 382.3 MB, free: 6.184 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/0.05464, allocations: 1.301 MB / 383.6 MB, free: 4.879 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000156/0.0548, allocations: 49.28 kB / 383.7 MB, free: 4.832 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/0.05591, allocations: 1.249 MB / 384.9 MB, free: 3.527 MB / 346.7 MB Notification: Performance of pre-optimization done (n=156): time 3.266e-06/0.05592, allocations: 0 / 384.9 MB, free: 3.527 MB / 346.7 MB Notification: Performance of matching and sorting (n=172): time 0.01152/0.06744, allocations: 8.45 MB / 393.4 MB, free: 11.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.952e-05/0.06752, allocations: 188.1 kB / 393.6 MB, free: 10.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/0.06912, allocations: 1.713 MB / 395.3 MB, free: 9.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.783e-05/0.0692, allocations: 61.69 kB / 395.3 MB, free: 9.023 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006874/0.06989, allocations: 1.225 MB / 396.6 MB, free: 7.785 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002993/0.07018, allocations: 0.5772 MB / 397.1 MB, free: 7.203 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003601/0.07055, allocations: 351.5 kB / 397.5 MB, free: 6.855 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.07062, allocations: 305.1 kB / 397.8 MB, free: 6.555 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/0.07189, allocations: 0.9994 MB / 398.8 MB, free: 5.555 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/0.07308, allocations: 1.539 MB / 400.3 MB, free: 3.828 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002135/0.07521, allocations: 2.454 MB / 402.8 MB, free: 1.227 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.07522, allocations: 4 kB / 402.8 MB, free: 1.223 MB / 362.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.003609/0.07883, allocations: 3.308 MB / 406.1 MB, free: 13.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.07885, allocations: 12 kB / 406.1 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.07886, allocations: 8.531 kB / 406.1 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.08002, allocations: 0.8877 MB / 407 MB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006286/0.08065, allocations: 331.5 kB / 407.3 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007323/0.08797, allocations: 9.931 MB / 417.2 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000812/0.08878, allocations: 139.9 kB / 417.4 MB, free: 2.273 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.469e-05/0.08886, allocations: 64 kB / 417.4 MB, free: 2.211 MB / 378.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.001181/0.09005, allocations: 0.9253 MB / 418.4 MB, free: 1.273 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/0.09024, allocations: 210.7 kB / 418.6 MB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00341/0.09365, allocations: 3.079 MB / 421.7 MB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/0.09366, allocations: 16 kB / 421.7 MB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.09367, allocations: 12 kB / 421.7 MB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.09368, allocations: 7.969 kB / 421.7 MB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006381/0.1001, allocations: 5.549 MB / 427.2 MB, free: 8.289 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.1001, allocations: 12.03 kB / 427.2 MB, free: 8.277 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004597/0.1005, allocations: 211.7 kB / 427.5 MB, free: 8.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001262/0.1018, allocations: 0.925 MB / 428.4 MB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.921e-05/0.1019, allocations: 43.98 kB / 428.4 MB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008189/0.1101, allocations: 11.4 MB / 439.8 MB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1101, allocations: 4 kB / 439.8 MB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004923/0.115, allocations: 4.484 MB / 444.3 MB, free: 6.727 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007488/0.1157, allocations: 422.5 kB / 444.7 MB, free: 6.312 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/0.1159, allocations: 43.94 kB / 444.8 MB, free: 6.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005244/0.1164, allocations: 103.9 kB / 444.9 MB, free: 6.168 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003673/0.1168, allocations: 196.9 kB / 445.1 MB, free: 5.977 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.897e-05/0.1169, allocations: 48.36 kB / 445.1 MB, free: 5.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00129/0.1181, allocations: 1.162 MB / 446.3 MB, free: 4.773 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1181, allocations: 0 / 446.3 MB, free: 4.773 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001583/0.1197, allocations: 0.6406 MB / 446.9 MB, free: 4.133 MB / 410.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.0003211/0.1201, allocations: 217.4 kB / 447.1 MB, free: 3.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003555/0.1236, allocations: 2.998 MB / 450.1 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.1236, allocations: 0 / 450.1 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1549/0.2786, allocations: 2.046 MB / 452.2 MB, free: 116.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/0.2805, allocations: 0.5117 MB / 452.7 MB, free: 116.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006559/0.287, allocations: 5.627 MB / 458.3 MB, free: 114.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/0.2881, allocations: 1.602 MB / 459.9 MB, free: 114 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003306/0.2884, allocations: 132.3 kB / 460 MB, free: 114 MB / 410.7 MB Notification: Performance of SimCode: time 1.654e-06/0.2884, allocations: 0 / 460 MB, free: 114 MB / 410.7 MB Notification: Performance of Templates: time 0.05131/0.3397, allocations: 103.6 MB / 0.5504 GB, free: 12.21 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_YD/IMC_YD.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.654512986540794]