Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 187 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 47.92 kB / 371.7 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2391, allocations: 52.18 MB / 423.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.0135/0.2526, allocations: 10.38 MB / 434.2 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007968/0.2606, allocations: 3.549 MB / 437.8 MB, free: 484 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001664/0.2623, allocations: 95.38 kB / 437.9 MB, free: 388 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002268/0.2645, allocations: 0.8576 MB / 438.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003241/0.2678, allocations: 1.146 MB / 439.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.2688, allocations: 0.4915 MB / 440.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00476/0.2736, allocations: 4.222 MB / 444.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002501/0.2761, allocations: 1.775 MB / 446.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00265/0.2788, allocations: 1.955 MB / 448.3 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003472/0.2822, allocations: 2.3 MB / 450.6 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008482/0.2831, allocations: 0.4961 MB / 451.1 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.2843, allocations: 0.5818 MB / 451.7 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001413/0.2857, allocations: 1.41 MB / 453.1 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002209/0.2879, allocations: 1.782 MB / 454.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00686/0.2947, allocations: 6.61 MB / 461.5 MB, free: 8.602 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2947, allocations: 4 kB / 461.5 MB, free: 8.598 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.2947, allocations: 0 / 461.5 MB, free: 8.598 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001045/0.2948, allocations: 0 / 461.5 MB, free: 8.598 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008859/0.3037, allocations: 4.336 MB / 465.8 MB, free: 4.207 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3037, allocations: 8.031 kB / 465.8 MB, free: 4.199 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.3048, allocations: 458.3 kB / 466.3 MB, free: 3.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004563/0.3094, allocations: 2.344 MB / 468.6 MB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002209/0.3096, allocations: 238.1 kB / 468.9 MB, free: 1.133 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005597/0.3101, allocations: 304 kB / 469.2 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007773/0.3179, allocations: 4.606 MB / 473.8 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-05/0.318, allocations: 7.953 kB / 473.8 MB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003097/0.3183, allocations: 128 kB / 473.9 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000137/0.3184, allocations: 130 kB / 474 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006682/0.3251, allocations: 3.779 MB / 477.8 MB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02146/0.3466, allocations: 11.73 MB / 489.5 MB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003453/0.35, allocations: 2.089 MB / 491.6 MB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002917/0.353, allocations: 1.555 MB / 493.2 MB, free: 8.336 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002494/0.3532, allocations: 65.2 kB / 493.2 MB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.327e-05/0.3533, allocations: 55.88 kB / 493.3 MB, free: 8.207 MB / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 4.188e-06/0.3533, allocations: 0 / 493.3 MB, free: 8.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.01984/0.3731, allocations: 8.463 MB / 0.49 GB, free: 15.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.3732, allocations: 73.34 kB / 0.4901 GB, free: 15.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003633/0.3768, allocations: 2.136 MB / 0.4921 GB, free: 13.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002408/0.377, allocations: 61.64 kB / 0.4922 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001289/0.3783, allocations: 1.503 MB / 0.4937 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006401/0.379, allocations: 0.6352 MB / 0.4943 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006274/0.3796, allocations: 367.5 kB / 0.4946 GB, free: 10.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3797, allocations: 305.1 kB / 0.4949 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001912/0.3816, allocations: 1.124 MB / 0.496 GB, free: 9.414 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002309/0.3839, allocations: 1.57 MB / 0.4976 GB, free: 7.668 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004331/0.3883, allocations: 2.776 MB / 0.5003 GB, free: 4.719 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.3883, allocations: 8 kB / 0.5003 GB, free: 4.711 MB / 414.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.007172/0.3955, allocations: 3.574 MB / 0.5038 GB, free: 1.105 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.3955, allocations: 8 kB / 0.5038 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.377e-05/0.3955, allocations: 12 kB / 0.5038 GB, free: 1.086 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002142/0.3977, allocations: 0.8218 MB / 0.5046 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00187/0.3995, allocations: 451.3 kB / 0.505 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01279/0.4123, allocations: 10.46 MB / 0.5152 GB, free: 4.824 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/0.4144, allocations: 123.9 kB / 0.5154 GB, free: 4.703 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000338/0.4147, allocations: 72 kB / 0.5154 GB, free: 4.633 MB / 430.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.002554/0.4173, allocations: 1.097 MB / 0.5165 GB, free: 3.527 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000784/0.4181, allocations: 238.5 kB / 0.5167 GB, free: 3.293 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006615/0.4247, allocations: 3.272 MB / 0.5199 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.773e-05/0.4247, allocations: 20 kB / 0.5199 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-05/0.4247, allocations: 4 kB / 0.5199 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.99e-05/0.4248, allocations: 7.969 kB / 0.52 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01392/0.4387, allocations: 6.047 MB / 0.5259 GB, free: 9.809 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/0.4387, allocations: 0 / 0.5259 GB, free: 9.809 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001483/0.4402, allocations: 295.5 kB / 0.5261 GB, free: 9.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002828/0.443, allocations: 0.935 MB / 0.5271 GB, free: 8.562 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003023/0.4433, allocations: 39.98 kB / 0.5271 GB, free: 8.523 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.212/0.6553, allocations: 13.63 MB / 0.5404 GB, free: 103.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6553, allocations: 2.75 kB / 0.5404 GB, free: 103.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006872/0.6622, allocations: 4.844 MB / 0.5451 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/0.6637, allocations: 487.7 kB / 0.5456 GB, free: 101.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003516/0.6641, allocations: 47.47 kB / 0.5457 GB, free: 101.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/0.6653, allocations: 118.2 kB / 0.5458 GB, free: 101.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003505/0.6656, allocations: 160.2 kB / 0.5459 GB, free: 101.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-05/0.6657, allocations: 53.3 kB / 0.546 GB, free: 101.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001706/0.6674, allocations: 1.457 MB / 0.5474 GB, free: 100.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6674, allocations: 0 / 0.5474 GB, free: 100.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001852/0.6693, allocations: 0.7022 MB / 0.5481 GB, free: 100.6 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.0003439/0.6696, allocations: 204.9 kB / 0.5483 GB, free: 100.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004068/0.6737, allocations: 3.332 MB / 0.5515 GB, free: 98.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.6737, allocations: 7.547 kB / 0.5515 GB, free: 98.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002745/0.6765, allocations: 2.346 MB / 0.5538 GB, free: 96.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/0.6792, allocations: 0.602 MB / 0.5544 GB, free: 95.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008758/0.6879, allocations: 6.861 MB / 0.5611 GB, free: 89.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001552/0.6895, allocations: 1.928 MB / 0.563 GB, free: 87.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006852/0.6902, allocations: 163.4 kB / 0.5632 GB, free: 87.69 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.6902, allocations: 0 / 0.5632 GB, free: 87.69 MB / 446.1 MB Notification: Performance of Templates: time 0.1559/0.8461, allocations: 167.5 MB / 0.7267 GB, free: 96 kB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 16.18034937325865]