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.001323/0.001323, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 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.001607/0.001607, allocations: 159.1 kB / 24.49 MB, free: 3.453 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.441/1.441, allocations: 177.1 MB / 204.7 MB, free: 8.902 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_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.00187/0.00187, allocations: 65.83 kB / 325.5 MB, free: 224 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1187, allocations: 53.39 MB / 378.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.01261/0.1313, allocations: 9.147 MB / 388.1 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007815/0.1391, allocations: 3.105 MB / 391.2 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001856/0.141, allocations: 71.5 kB / 391.2 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002245/0.1432, allocations: 0.6947 MB / 391.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003706/0.1469, allocations: 0.9283 MB / 392.9 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.1482, allocations: 427.4 kB / 393.3 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005028/0.1532, allocations: 3.451 MB / 396.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002334/0.1555, allocations: 1.369 MB / 398.1 MB, free: 12.19 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003321/0.1589, allocations: 1.581 MB / 399.7 MB, free: 10.6 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004123/0.163, allocations: 1.845 MB / 401.5 MB, free: 8.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001019/0.164, allocations: 396 kB / 401.9 MB, free: 8.363 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.1656, allocations: 495.8 kB / 402.4 MB, free: 7.879 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001338/0.1669, allocations: 1.122 MB / 403.5 MB, free: 6.754 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002377/0.1693, allocations: 1.439 MB / 405 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006501/0.1758, allocations: 5.279 MB / 410.2 MB, free: 12 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1758, allocations: 0 / 410.2 MB, free: 12 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1758, allocations: 0 / 410.2 MB, free: 12 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001302/0.176, allocations: 3.938 kB / 410.2 MB, free: 8 kB / 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.008/0.184, allocations: 3.547 MB / 413.8 MB, free: 12.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.184, allocations: 8.031 kB / 413.8 MB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.1852, allocations: 406.7 kB / 414.2 MB, free: 12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003562/0.1887, allocations: 1.878 MB / 416.1 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.1889, allocations: 201 kB / 416.3 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003833/0.1893, allocations: 264 kB / 416.5 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005991/0.1953, allocations: 3.624 MB / 420.2 MB, free: 5.875 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.278e-05/0.1953, allocations: 15.89 kB / 420.2 MB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002404/0.1956, allocations: 104 kB / 420.3 MB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001275/0.1957, allocations: 112.9 kB / 420.4 MB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00529/0.201, allocations: 3.091 MB / 423.5 MB, free: 2.539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01705/0.2181, allocations: 9.441 MB / 432.9 MB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003134/0.2212, allocations: 2.046 MB / 435 MB, free: 6.805 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002152/0.2233, allocations: 1.294 MB / 436.3 MB, free: 5.516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002308/0.2236, allocations: 53.27 kB / 436.3 MB, free: 5.465 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001904/0.2255, allocations: 1.249 MB / 437.6 MB, free: 4.164 MB / 398.1 MB Notification: Performance of pre-optimization done (n=156): time 3.277e-06/0.2255, allocations: 0 / 437.6 MB, free: 4.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=172): time 0.02175/0.2472, allocations: 8.435 MB / 446 MB, free: 11.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.2474, allocations: 176.2 kB / 446.2 MB, free: 11.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002848/0.2502, allocations: 1.72 MB / 447.9 MB, free: 9.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001847/0.2504, allocations: 65.69 kB / 448 MB, free: 9.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001342/0.2517, allocations: 1.221 MB / 449.2 MB, free: 8.445 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006386/0.2524, allocations: 0.5888 MB / 449.8 MB, free: 7.852 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006009/0.253, allocations: 355.5 kB / 450.1 MB, free: 7.496 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.2531, allocations: 301.1 kB / 450.4 MB, free: 7.199 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/0.2548, allocations: 0.9993 MB / 451.4 MB, free: 6.199 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0023/0.2571, allocations: 1.539 MB / 452.9 MB, free: 4.477 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003874/0.261, allocations: 2.45 MB / 455.4 MB, free: 1.879 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-06/0.261, allocations: 4 kB / 455.4 MB, free: 1.875 MB / 414.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006293/0.2673, allocations: 3.304 MB / 458.7 MB, free: 14.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.761e-05/0.2673, allocations: 12.53 kB / 458.7 MB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.2674, allocations: 12 kB / 458.7 MB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002197/0.2696, allocations: 0.8961 MB / 459.6 MB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.2708, allocations: 335.4 kB / 459.9 MB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01311/0.2839, allocations: 9.932 MB / 469.9 MB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002207/0.2861, allocations: 143.8 kB / 470 MB, free: 2.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000372/0.2865, allocations: 67.98 kB / 470.1 MB, free: 2.844 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.002285/0.2888, allocations: 0.9253 MB / 471 MB, free: 1.906 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00067/0.2895, allocations: 198.7 kB / 471.2 MB, free: 1.711 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2447/0.5341, allocations: 3.08 MB / 474.3 MB, free: 83.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.609e-05/0.5342, allocations: 17.39 kB / 474.3 MB, free: 83.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.371e-05/0.5342, allocations: 8.156 kB / 474.3 MB, free: 83.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.855e-05/0.5342, allocations: 8.156 kB / 474.3 MB, free: 83.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/0.5464, allocations: 5.555 MB / 479.9 MB, free: 81.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.5464, allocations: 2.906 kB / 479.9 MB, free: 81.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009042/0.5473, allocations: 211.7 kB / 480.1 MB, free: 81.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00237/0.5496, allocations: 0.9219 MB / 481 MB, free: 81.71 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001441/0.5498, allocations: 45.53 kB / 481 MB, free: 81.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01152/0.5613, allocations: 11.41 MB / 492.5 MB, free: 74.11 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/0.5613, allocations: 3.562 kB / 492.5 MB, free: 74.11 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006512/0.5678, allocations: 4.489 MB / 497 MB, free: 72.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/0.569, allocations: 432.5 kB / 497.4 MB, free: 72.19 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002257/0.5692, allocations: 35.22 kB / 497.4 MB, free: 72.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009133/0.5701, allocations: 109.5 kB / 497.5 MB, free: 72.11 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004516/0.5706, allocations: 200.9 kB / 497.7 MB, free: 71.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.5707, allocations: 47.8 kB / 497.8 MB, free: 71.96 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00141/0.5721, allocations: 1.159 MB / 498.9 MB, free: 71.35 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5721, allocations: 0 / 498.9 MB, free: 71.35 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001904/0.574, allocations: 0.6327 MB / 499.6 MB, free: 70.73 MB / 430.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.0003638/0.5743, allocations: 210.7 kB / 499.8 MB, free: 70.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003785/0.5781, allocations: 3 MB / 0.491 GB, free: 67.51 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.5781, allocations: 4 kB / 0.491 GB, free: 67.51 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002528/0.5807, allocations: 2.103 MB / 0.493 GB, free: 65.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00202/0.5827, allocations: 0.5261 MB / 0.4935 GB, free: 64.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006939/0.5896, allocations: 5.77 MB / 0.4992 GB, free: 59.11 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001331/0.591, allocations: 1.63 MB / 0.5008 GB, free: 57.44 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001071/0.592, allocations: 440.5 kB / 0.5012 GB, free: 57.01 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003283/0.5924, allocations: 132.5 kB / 0.5013 GB, free: 56.88 MB / 430.1 MB Notification: Performance of SimCode: time 1.032e-06/0.5924, allocations: 0 / 0.5013 GB, free: 56.88 MB / 430.1 MB Notification: Performance of Templates: time 0.04987/0.6422, allocations: 37.85 MB / 0.5383 GB, free: 19.43 MB / 430.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_YD/IMC_YD.csv","/var/lib/jenkins1/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.985950281028636]