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.001898/0.001898, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002323/0.002323, allocations: 209.2 kB / 23.73 MB, free: 4.523 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001658/0.001658, allocations: 55.92 kB / 378.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2888, allocations: 53.37 MB / 431.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01507/0.3038, allocations: 10.42 MB / 442 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009298/0.3131, allocations: 3.623 MB / 445.6 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002591/0.3157, allocations: 95.38 kB / 445.7 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003173/0.3189, allocations: 0.8701 MB / 446.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004802/0.3237, allocations: 1.15 MB / 447.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002307/0.326, allocations: 0.5032 MB / 448.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006634/0.3326, allocations: 4.233 MB / 452.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003572/0.3362, allocations: 1.841 MB / 454.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005256/0.3415, allocations: 1.974 MB / 456.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005477/0.3469, allocations: 2.394 MB / 458.7 MB, free: 11.44 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001457/0.3484, allocations: 0.4961 MB / 459.2 MB, free: 10.94 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001996/0.3504, allocations: 0.6014 MB / 459.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002129/0.3525, allocations: 1.406 MB / 461.2 MB, free: 8.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003422/0.3559, allocations: 1.786 MB / 463 MB, free: 7.137 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007735/0.3637, allocations: 6.634 MB / 469.6 MB, free: 492 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.3637, allocations: 0 / 469.6 MB, free: 492 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3637, allocations: 0 / 469.6 MB, free: 492 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001696/0.3639, allocations: 3.938 kB / 469.6 MB, free: 488 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.01107/0.3749, allocations: 4.356 MB / 474 MB, free: 12.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.375, allocations: 8.031 kB / 474 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001633/0.3766, allocations: 490.2 kB / 474.5 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005758/0.3824, allocations: 2.352 MB / 476.8 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000233/0.3826, allocations: 234.1 kB / 477 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007529/0.3834, allocations: 311.9 kB / 477.4 MB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009431/0.3928, allocations: 4.599 MB / 482 MB, free: 3.906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.149e-05/0.3929, allocations: 7.953 kB / 482 MB, free: 3.898 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003419/0.3932, allocations: 128 kB / 482.1 MB, free: 3.773 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001552/0.3934, allocations: 130 kB / 482.2 MB, free: 3.645 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008008/0.4014, allocations: 3.779 MB / 486 MB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02767/0.4291, allocations: 11.72 MB / 497.7 MB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004545/0.4336, allocations: 2.09 MB / 499.8 MB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003392/0.437, allocations: 1.555 MB / 0.4896 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003254/0.4373, allocations: 49.28 kB / 0.4897 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.181e-05/0.4374, allocations: 51.88 kB / 0.4897 GB, free: 52 kB / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 4.769e-06/0.4374, allocations: 0 / 0.4897 GB, free: 52 kB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.02218/0.4596, allocations: 8.479 MB / 0.498 GB, free: 7.516 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.4596, allocations: 73.41 kB / 0.4981 GB, free: 7.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004602/0.4642, allocations: 2.153 MB / 0.5002 GB, free: 5.238 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000357/0.4646, allocations: 57.7 kB / 0.5002 GB, free: 5.176 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001557/0.4661, allocations: 1.519 MB / 0.5017 GB, free: 3.645 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001018/0.4672, allocations: 0.6352 MB / 0.5023 GB, free: 3.004 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001276/0.4684, allocations: 367.5 kB / 0.5027 GB, free: 2.641 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002174/0.4687, allocations: 305.1 kB / 0.503 GB, free: 2.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002675/0.4713, allocations: 1.128 MB / 0.5041 GB, free: 1.211 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002798/0.4741, allocations: 1.578 MB / 0.5056 GB, free: 15.46 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004997/0.4791, allocations: 2.784 MB / 0.5083 GB, free: 12.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.971e-05/0.4791, allocations: 4 kB / 0.5083 GB, free: 12.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.00765/0.4868, allocations: 3.578 MB / 0.5118 GB, free: 8.887 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/0.4868, allocations: 8 kB / 0.5118 GB, free: 8.879 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.095e-05/0.4869, allocations: 12 kB / 0.5118 GB, free: 8.867 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002387/0.4893, allocations: 0.8087 MB / 0.5126 GB, free: 8.039 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002166/0.4914, allocations: 459.3 kB / 0.5131 GB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0133/0.5047, allocations: 10.45 MB / 0.5233 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002322/0.507, allocations: 123.8 kB / 0.5234 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004917/0.5075, allocations: 75.98 kB / 0.5235 GB, free: 12.43 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.00264/0.5102, allocations: 1.101 MB / 0.5245 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00089/0.5111, allocations: 238.5 kB / 0.5248 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006972/0.518, allocations: 3.276 MB / 0.528 GB, free: 7.773 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-05/0.518, allocations: 16 kB / 0.528 GB, free: 7.758 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.63e-05/0.5181, allocations: 12 kB / 0.528 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.268e-05/0.5181, allocations: 7.969 kB / 0.528 GB, free: 7.738 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01447/0.5326, allocations: 6.052 MB / 0.5339 GB, free: 1.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.5326, allocations: 0 / 0.5339 GB, free: 1.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/0.5341, allocations: 299.5 kB / 0.5342 GB, free: 1.297 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002832/0.5369, allocations: 0.9266 MB / 0.5351 GB, free: 356 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002442/0.5372, allocations: 39.98 kB / 0.5351 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2452/0.7824, allocations: 13.64 MB / 0.5485 GB, free: 90.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.7824, allocations: 2 kB / 0.5485 GB, free: 90.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006464/0.7888, allocations: 4.845 MB / 0.5532 GB, free: 88.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001452/0.7903, allocations: 487.2 kB / 0.5537 GB, free: 88.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003508/0.7906, allocations: 42.77 kB / 0.5537 GB, free: 88.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/0.7919, allocations: 120.2 kB / 0.5538 GB, free: 88.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004083/0.7923, allocations: 166.1 kB / 0.554 GB, free: 88.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/0.7924, allocations: 47.84 kB / 0.554 GB, free: 88.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00176/0.7942, allocations: 1.46 MB / 0.5554 GB, free: 88.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7942, allocations: 0 / 0.5554 GB, free: 88.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001995/0.7962, allocations: 0.706 MB / 0.5561 GB, free: 88.04 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * 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): 7 systems {(2,14,100.0%), (1,1,100.0%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (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.000373/0.7966, allocations: 211.7 kB / 0.5563 GB, free: 87.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004055/0.8006, allocations: 3.335 MB / 0.5596 GB, free: 84.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.8006, allocations: 4 kB / 0.5596 GB, free: 84.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002821/0.8034, allocations: 2.348 MB / 0.5619 GB, free: 82.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002988/0.8064, allocations: 0.6191 MB / 0.5625 GB, free: 82.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009696/0.8161, allocations: 6.867 MB / 0.5692 GB, free: 75.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/0.8177, allocations: 1.971 MB / 0.5711 GB, free: 73.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001554/0.8193, allocations: 0.5655 MB / 0.5717 GB, free: 73.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004725/0.8197, allocations: 155.4 kB / 0.5718 GB, free: 72.95 MB / 446.1 MB Notification: Performance of SimCode: time 1.282e-06/0.8197, allocations: 0 / 0.5718 GB, free: 72.95 MB / 446.1 MB Notification: Performance of Templates: time 0.05808/0.8778, allocations: 45.7 MB / 0.6164 GB, free: 27.78 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins/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: 6.587276684120297]