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.001596/0.001596, allocations: 106.9 kB / 19.8 MB, free: 2.5 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.001724/0.001724, allocations: 218.8 kB / 23 MB, free: 5.574 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.474/1.474, allocations: 230.2 MB / 256.2 MB, free: 8.531 MB / 206.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_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 0.002175/0.002175, allocations: 67.89 kB / 376.5 MB, free: 3.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3445, allocations: 53.32 MB / 429.8 MB, free: 7.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.01372/0.3582, allocations: 10.42 MB / 440.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007877/0.3661, allocations: 3.299 MB / 443.5 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00208/0.3681, allocations: 55.75 kB / 443.6 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002261/0.3704, allocations: 0.7392 MB / 444.3 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003658/0.3741, allocations: 0.9244 MB / 445.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.3752, allocations: 427.3 kB / 445.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004901/0.3801, allocations: 3.448 MB / 449.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002241/0.3824, allocations: 1.42 MB / 450.5 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002891/0.3853, allocations: 1.538 MB / 452.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003422/0.3887, allocations: 1.903 MB / 454 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007325/0.3894, allocations: 400 kB / 454.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001203/0.3906, allocations: 499.8 kB / 454.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001261/0.3919, allocations: 1.118 MB / 456 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003391/0.3953, allocations: 1.781 MB / 457.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007514/0.4028, allocations: 5.251 MB / 463 MB, free: 6.176 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.4028, allocations: 0 / 463 MB, free: 6.176 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4028, allocations: 4 kB / 463 MB, free: 6.172 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001755/0.403, allocations: 0 / 463 MB, free: 6.172 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: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.009266/0.4123, allocations: 3.622 MB / 466.6 MB, free: 2.477 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.4123, allocations: 8.031 kB / 466.6 MB, free: 2.469 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/0.4137, allocations: 398.7 kB / 467 MB, free: 2.078 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003962/0.4176, allocations: 1.954 MB / 469 MB, free: 72 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002067/0.4178, allocations: 205.1 kB / 469.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004465/0.4183, allocations: 248 kB / 469.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006862/0.4251, allocations: 3.535 MB / 473 MB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.11e-05/0.4252, allocations: 7.953 kB / 473 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002584/0.4255, allocations: 112 kB / 473.1 MB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001304/0.4256, allocations: 112.9 kB / 473.2 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005907/0.4315, allocations: 3.095 MB / 476.3 MB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02142/0.4529, allocations: 10.76 MB / 487 MB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004174/0.4571, allocations: 2.958 MB / 490 MB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002552/0.4597, allocations: 1.309 MB / 491.3 MB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003213/0.46, allocations: 126.4 kB / 491.4 MB, free: 9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002157/0.4621, allocations: 1.152 MB / 492.6 MB, free: 7.816 MB / 398.1 MB Notification: Performance of pre-optimization done (n=156): time 3.727e-06/0.4621, allocations: 0 / 492.6 MB, free: 7.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=172): time 0.02254/0.4847, allocations: 8.904 MB / 0.4897 GB, free: 14.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002381/0.4849, allocations: 180.2 kB / 0.4899 GB, free: 14.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005632/0.4906, allocations: 1.848 MB / 0.4917 GB, free: 12.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004758/0.491, allocations: 57.7 kB / 0.4918 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001674/0.4927, allocations: 1.226 MB / 0.493 GB, free: 11.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009769/0.4937, allocations: 0.5927 MB / 0.4935 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001032/0.4947, allocations: 351.5 kB / 0.4939 GB, free: 10.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4948, allocations: 301.1 kB / 0.4942 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002013/0.4969, allocations: 1.007 MB / 0.4951 GB, free: 9.145 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002277/0.4991, allocations: 1.43 MB / 0.4965 GB, free: 7.555 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004036/0.5032, allocations: 2.45 MB / 0.4989 GB, free: 4.957 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.219e-05/0.5032, allocations: 4 kB / 0.4989 GB, free: 4.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006577/0.5098, allocations: 3.323 MB / 0.5022 GB, free: 1.605 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/0.5098, allocations: 15.94 kB / 0.5022 GB, free: 1.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.784e-05/0.5098, allocations: 11.94 kB / 0.5022 GB, free: 1.578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002349/0.5122, allocations: 0.8845 MB / 0.5031 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/0.5135, allocations: 343.4 kB / 0.5034 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01407/0.5276, allocations: 10.43 MB / 0.5136 GB, free: 5.496 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/0.5299, allocations: 131.9 kB / 0.5137 GB, free: 5.367 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000368/0.5303, allocations: 71.98 kB / 0.5138 GB, free: 5.297 MB / 430.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.002337/0.5326, allocations: 0.9175 MB / 0.5147 GB, free: 4.371 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007258/0.5333, allocations: 226.5 kB / 0.5149 GB, free: 4.148 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006426/0.5398, allocations: 3.088 MB / 0.5179 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/0.5398, allocations: 16 kB / 0.5179 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-05/0.5398, allocations: 8 kB / 0.5179 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.859e-05/0.5398, allocations: 7.969 kB / 0.5179 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01436/0.5542, allocations: 6.198 MB / 0.524 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.007e-05/0.5542, allocations: 4 kB / 0.524 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.5552, allocations: 212 kB / 0.5242 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002564/0.5578, allocations: 0.9329 MB / 0.5251 GB, free: 9.535 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001715/0.558, allocations: 39.98 kB / 0.5252 GB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3052/0.8631, allocations: 12.02 MB / 0.5369 GB, free: 99.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.8631, allocations: 2.594 kB / 0.5369 GB, free: 99.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007302/0.8704, allocations: 4.503 MB / 0.5413 GB, free: 98.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/0.8718, allocations: 0.4977 MB / 0.5418 GB, free: 98.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003327/0.8721, allocations: 38.25 kB / 0.5418 GB, free: 98.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.8731, allocations: 99.56 kB / 0.5419 GB, free: 98.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005657/0.8737, allocations: 202.2 kB / 0.5421 GB, free: 98.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.8738, allocations: 48.89 kB / 0.5421 GB, free: 98.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001767/0.8756, allocations: 1.265 MB / 0.5434 GB, free: 97.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8756, allocations: 0 / 0.5434 GB, free: 97.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002302/0.8779, allocations: 0.6391 MB / 0.544 GB, free: 97.61 MB / 446.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.0004087/0.8783, allocations: 209.5 kB / 0.5442 GB, free: 97.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004424/0.8827, allocations: 3.151 MB / 0.5473 GB, free: 96.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.8827, allocations: 0 / 0.5473 GB, free: 96.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002906/0.8856, allocations: 2.19 MB / 0.5494 GB, free: 94.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002598/0.8882, allocations: 0.5751 MB / 0.55 GB, free: 94.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008021/0.8962, allocations: 5.816 MB / 0.5557 GB, free: 90.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001497/0.8977, allocations: 2.192 MB / 0.5578 GB, free: 88.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001331/0.8991, allocations: 451 kB / 0.5582 GB, free: 87.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003723/0.8994, allocations: 131.4 kB / 0.5584 GB, free: 87.73 MB / 446.1 MB Notification: Performance of SimCode: time 1.293e-06/0.8994, allocations: 8 kB / 0.5584 GB, free: 87.73 MB / 446.1 MB Notification: Performance of Templates: time 0.06083/0.9603, allocations: 39.22 MB / 0.5967 GB, free: 48.92 MB / 446.1 MB " [Timeout remaining time 659] 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: 8.643537700176239]