Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.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.00161/0.00161, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.001386/0.001386, allocations: 212.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.39/1.39, allocations: 230.4 MB / 258.1 MB, free: 8.129 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-beta.om/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.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-beta.om_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-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 67.88 kB / 378.8 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2154, allocations: 53.31 MB / 432.1 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.0147/0.2301, allocations: 11.96 MB / 444 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007242/0.2373, allocations: 3.853 MB / 447.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/0.2387, allocations: 71.69 kB / 448 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002095/0.2408, allocations: 0.925 MB / 448.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002837/0.2436, allocations: 1.146 MB / 450 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.2447, allocations: 0.4954 MB / 450.5 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00501/0.2497, allocations: 4.234 MB / 454.8 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002653/0.2524, allocations: 1.845 MB / 456.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002814/0.2552, allocations: 1.924 MB / 458.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003644/0.2588, allocations: 2.39 MB / 460.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000834/0.2597, allocations: 0.496 MB / 461.4 MB, free: 9.852 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.2609, allocations: 0.5975 MB / 462 MB, free: 9.254 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001461/0.2624, allocations: 1.418 MB / 463.4 MB, free: 7.832 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002751/0.2651, allocations: 2.209 MB / 465.6 MB, free: 5.613 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00765/0.2728, allocations: 6.594 MB / 472.2 MB, free: 15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2728, allocations: 0 / 472.2 MB, free: 15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2728, allocations: 0 / 472.2 MB, free: 15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001347/0.2729, allocations: 0 / 472.2 MB, free: 15 MB / 382.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.01001/0.2829, allocations: 4.419 MB / 476.6 MB, free: 10.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.283, allocations: 12.03 kB / 476.7 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/0.2844, allocations: 490.2 kB / 477.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005251/0.2897, allocations: 2.431 MB / 479.6 MB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001974/0.2899, allocations: 230.2 kB / 479.8 MB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005634/0.2904, allocations: 304 kB / 480.1 MB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007951/0.2984, allocations: 4.377 MB / 484.5 MB, free: 2.543 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.377e-05/0.2984, allocations: 7.953 kB / 484.5 MB, free: 2.535 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000312/0.2988, allocations: 132 kB / 484.6 MB, free: 2.406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001534/0.2989, allocations: 133.9 kB / 484.7 MB, free: 2.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006439/0.3053, allocations: 3.783 MB / 488.5 MB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02272/0.3281, allocations: 13.41 MB / 0.4902 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003701/0.3318, allocations: 2.771 MB / 0.4929 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002869/0.3346, allocations: 1.567 MB / 0.4944 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002758/0.3349, allocations: 130.4 kB / 0.4945 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/0.335, allocations: 51.88 kB / 0.4946 GB, free: 12.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=164): time 3.577e-06/0.335, allocations: 0 / 0.4946 GB, free: 12.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=180): time 0.01875/0.3537, allocations: 9.026 MB / 0.5034 GB, free: 2.801 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.3538, allocations: 73.41 kB / 0.5035 GB, free: 2.715 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003579/0.3573, allocations: 2.378 MB / 0.5058 GB, free: 316 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001364/0.3575, allocations: 57.7 kB / 0.5058 GB, free: 252 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001239/0.3587, allocations: 1.505 MB / 0.5073 GB, free: 14.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005579/0.3593, allocations: 0.6352 MB / 0.5079 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006182/0.3599, allocations: 367.5 kB / 0.5083 GB, free: 13.72 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.36, allocations: 305.1 kB / 0.5086 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001859/0.3619, allocations: 1.12 MB / 0.5097 GB, free: 12.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002245/0.3641, allocations: 1.571 MB / 0.5112 GB, free: 10.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004179/0.3683, allocations: 2.784 MB / 0.5139 GB, free: 7.594 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.3683, allocations: 4 kB / 0.5139 GB, free: 7.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006295/0.3746, allocations: 3.594 MB / 0.5174 GB, free: 3.965 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.3746, allocations: 12 kB / 0.5174 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.341e-05/0.3747, allocations: 15.94 kB / 0.5175 GB, free: 3.938 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002053/0.3767, allocations: 0.802 MB / 0.5182 GB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/0.3785, allocations: 463.2 kB / 0.5187 GB, free: 2.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0123/0.3908, allocations: 11.18 MB / 0.5296 GB, free: 6.789 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002047/0.3928, allocations: 127.9 kB / 0.5297 GB, free: 6.664 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/0.393, allocations: 79.98 kB / 0.5298 GB, free: 6.586 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.00188/0.3949, allocations: 1.083 MB / 0.5308 GB, free: 5.492 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004657/0.3953, allocations: 266.3 kB / 0.5311 GB, free: 5.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005856/0.4012, allocations: 3.286 MB / 0.5343 GB, free: 1.906 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/0.4012, allocations: 11.95 kB / 0.5343 GB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.4012, allocations: 0 / 0.5343 GB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/0.4025, allocations: 0.5891 MB / 0.5349 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003278/0.4029, allocations: 35.98 kB / 0.5349 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.4041, allocations: 119.9 kB / 0.535 GB, free: 1.133 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003248/0.4045, allocations: 161.7 kB / 0.5352 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1846/0.589, allocations: 3.43 MB / 0.5385 GB, free: 100.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005359/0.5944, allocations: 4.259 MB / 0.5427 GB, free: 98.7 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001293/0.5957, allocations: 1.145 MB / 0.5438 GB, free: 98.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001972/0.5976, allocations: 1.643 MB / 0.5454 GB, free: 97.68 MB / 446.1 MB Notification: Performance of Backend: time 2.11e-07/0.5976, allocations: 0.875 kB / 0.5454 GB, free: 97.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004035/0.6017, allocations: 2.644 MB / 0.548 GB, free: 96.27 MB / 446.1 MB Notification: Performance of SimCode: time 0.008017/0.6097, allocations: 7.241 MB / 0.5551 GB, free: 92.57 MB / 446.1 MB Notification: Performance of Templates: time 0.05339/0.6631, allocations: 44.13 MB / 0.5982 GB, free: 49.77 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.26663968199864]