Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 106.8 kB / 21.19 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 213.3 kB / 24.49 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 47.92 kB / 379 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2163, allocations: 53.37 MB / 432.4 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01333/0.2296, allocations: 10.41 MB / 442.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006879/0.2365, allocations: 3.635 MB / 446.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000971/0.2375, allocations: 91.38 kB / 446.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001968/0.2394, allocations: 0.8662 MB / 447.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002775/0.2422, allocations: 1.158 MB / 448.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009965/0.2432, allocations: 0.4954 MB / 449 MB, free: 5.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004852/0.2481, allocations: 4.234 MB / 453.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00267/0.2507, allocations: 1.845 MB / 455.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002797/0.2535, allocations: 1.967 MB / 457.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003645/0.2572, allocations: 2.398 MB / 459.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000945/0.2581, allocations: 0.4922 MB / 460 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002093/0.2602, allocations: 0.6014 MB / 460.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001849/0.2621, allocations: 1.41 MB / 462 MB, free: 8.898 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002605/0.2647, allocations: 1.782 MB / 463.7 MB, free: 7.109 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007538/0.2722, allocations: 6.634 MB / 470.4 MB, free: 464 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2722, allocations: 0 / 470.4 MB, free: 464 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2722, allocations: 0 / 470.4 MB, free: 464 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000144/0.2723, allocations: 0 / 470.4 MB, free: 464 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01002/0.2824, allocations: 4.358 MB / 474.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.2824, allocations: 8.031 kB / 474.7 MB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/0.2839, allocations: 498.2 kB / 475.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005183/0.2891, allocations: 2.359 MB / 477.6 MB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002084/0.2893, allocations: 230.2 kB / 477.8 MB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006014/0.2899, allocations: 311.9 kB / 478.1 MB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008258/0.2981, allocations: 4.595 MB / 482.7 MB, free: 3.875 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.33e-05/0.2982, allocations: 15.89 kB / 482.7 MB, free: 3.859 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003283/0.2985, allocations: 127.9 kB / 482.9 MB, free: 3.734 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001404/0.2987, allocations: 126 kB / 483 MB, free: 3.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006723/0.3054, allocations: 3.771 MB / 486.7 MB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02134/0.3267, allocations: 11.74 MB / 498.5 MB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003375/0.3301, allocations: 2.071 MB / 0.4888 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002928/0.3331, allocations: 1.563 MB / 0.4904 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002441/0.3333, allocations: 49.28 kB / 0.4904 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.878e-05/0.3334, allocations: 55.86 kB / 0.4905 GB, free: 8 kB / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 4.268e-06/0.3334, allocations: 0 / 0.4905 GB, free: 8 kB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.01885/0.3522, allocations: 8.481 MB / 0.4987 GB, free: 7.473 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.3523, allocations: 69.41 kB / 0.4988 GB, free: 7.391 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003512/0.3558, allocations: 2.153 MB / 0.5009 GB, free: 5.199 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001867/0.356, allocations: 53.7 kB / 0.501 GB, free: 5.141 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001264/0.3572, allocations: 1.519 MB / 0.5024 GB, free: 3.609 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006263/0.3579, allocations: 0.6391 MB / 0.5031 GB, free: 2.965 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006498/0.3585, allocations: 363.5 kB / 0.5034 GB, free: 2.605 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.3586, allocations: 309.1 kB / 0.5037 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001883/0.3605, allocations: 1.124 MB / 0.5048 GB, free: 1.176 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002278/0.3628, allocations: 1.57 MB / 0.5063 GB, free: 15.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004205/0.367, allocations: 2.788 MB / 0.5091 GB, free: 12.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.367, allocations: 4 kB / 0.5091 GB, free: 12.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006504/0.3735, allocations: 3.578 MB / 0.5126 GB, free: 8.855 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/0.3735, allocations: 16.03 kB / 0.5126 GB, free: 8.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.718e-05/0.3736, allocations: 12 kB / 0.5126 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002148/0.3757, allocations: 0.8019 MB / 0.5134 GB, free: 8.004 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/0.3776, allocations: 459.3 kB / 0.5138 GB, free: 7.555 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01168/0.3893, allocations: 10.46 MB / 0.524 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001922/0.3912, allocations: 127.8 kB / 0.5241 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001711/0.3914, allocations: 75.98 kB / 0.5242 GB, free: 12.38 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001904/0.3933, allocations: 1.095 MB / 0.5253 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000477/0.3938, allocations: 242.5 kB / 0.5255 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005966/0.3997, allocations: 3.272 MB / 0.5287 GB, free: 7.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.802e-05/0.3998, allocations: 7.969 kB / 0.5287 GB, free: 7.723 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.3998, allocations: 0 / 0.5287 GB, free: 7.723 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001526/0.4013, allocations: 494.3 kB / 0.5292 GB, free: 7.238 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003534/0.4016, allocations: 51.98 kB / 0.5292 GB, free: 7.188 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/0.4029, allocations: 119.9 kB / 0.5294 GB, free: 7.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003725/0.4033, allocations: 165.7 kB / 0.5295 GB, free: 6.91 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007517/0.4108, allocations: 3.42 MB / 0.5329 GB, free: 3.457 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1902/0.6009, allocations: 4.238 MB / 0.537 GB, free: 100.3 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001818/0.6028, allocations: 1.15 MB / 0.5381 GB, free: 100.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002068/0.6048, allocations: 1.468 MB / 0.5396 GB, free: 99.82 MB / 446.1 MB Notification: Performance of Backend: time 4.91e-07/0.6048, allocations: 0 / 0.5396 GB, free: 99.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004444/0.6093, allocations: 2.478 MB / 0.542 GB, free: 98.61 MB / 446.1 MB Notification: Performance of SimCode: time 0.008035/0.6173, allocations: 7.082 MB / 0.5489 GB, free: 95.09 MB / 446.1 MB Notification: Performance of Templates: time 0.05375/0.6711, allocations: 48.77 MB / 0.5965 GB, free: 49.75 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.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: 7.464225784999144]