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.001301/0.001301, allocations: 112.2 kB / 19.04 MB, free: 3.23 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.001347/0.001347, allocations: 196.4 kB / 22.22 MB, free: 48 kB / 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.465/1.465, allocations: 225.6 MB / 250.8 MB, free: 13.34 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.001568/0.001568, allocations: 51.92 kB / 368.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3165, allocations: 52.13 MB / 420.9 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01424/0.3308, allocations: 11.92 MB / 432.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007804/0.3386, allocations: 3.766 MB / 436.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/0.3406, allocations: 67.75 kB / 436.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002786/0.3434, allocations: 0.924 MB / 437.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003887/0.3473, allocations: 1.13 MB / 438.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.3486, allocations: 499.3 kB / 439.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007651/0.3563, allocations: 4.218 MB / 443.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003706/0.36, allocations: 1.837 MB / 445.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00337/0.3634, allocations: 1.908 MB / 447.1 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004513/0.3679, allocations: 2.394 MB / 449.5 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00114/0.369, allocations: 0.4922 MB / 450 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001678/0.3707, allocations: 0.5858 MB / 450.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001628/0.3723, allocations: 1.414 MB / 452 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003338/0.3757, allocations: 2.205 MB / 454.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00837/0.384, allocations: 6.567 MB / 460.8 MB, free: 7.086 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.179e-05/0.384, allocations: 4 kB / 460.8 MB, free: 7.082 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.055e-06/0.384, allocations: 0 / 460.8 MB, free: 7.082 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002585/0.3843, allocations: 0 / 460.8 MB, free: 7.082 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.01248/0.3968, allocations: 4.4 MB / 465.2 MB, free: 2.609 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.632e-05/0.3968, allocations: 12.03 kB / 465.2 MB, free: 2.598 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/0.3981, allocations: 462.3 kB / 465.7 MB, free: 2.145 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005158/0.4032, allocations: 2.408 MB / 468.1 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002154/0.4034, allocations: 234.1 kB / 468.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006117/0.404, allocations: 307.9 kB / 468.6 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0084/0.4124, allocations: 4.377 MB / 473 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.603e-05/0.4125, allocations: 11.89 kB / 473 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003341/0.4128, allocations: 128 kB / 473.1 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000145/0.413, allocations: 130 kB / 473.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007008/0.42, allocations: 3.775 MB / 477 MB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02364/0.4436, allocations: 13.41 MB / 490.4 MB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00371/0.4473, allocations: 2.782 MB / 493.2 MB, free: 5.938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002805/0.4502, allocations: 1.563 MB / 494.8 MB, free: 4.379 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002794/0.4504, allocations: 130.4 kB / 494.9 MB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.4505, allocations: 47.88 kB / 494.9 MB, free: 4.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 3.426e-06/0.4505, allocations: 4 kB / 494.9 MB, free: 4.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.01968/0.4702, allocations: 9.025 MB / 0.4922 GB, free: 10.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/0.4702, allocations: 69.41 kB / 0.4922 GB, free: 10.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00413/0.4744, allocations: 2.357 MB / 0.4945 GB, free: 8.496 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003188/0.4747, allocations: 53.7 kB / 0.4946 GB, free: 8.438 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001454/0.4761, allocations: 1.501 MB / 0.496 GB, free: 6.926 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001021/0.4772, allocations: 0.6469 MB / 0.4967 GB, free: 6.273 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007868/0.4779, allocations: 367.5 kB / 0.497 GB, free: 5.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.4781, allocations: 301.1 kB / 0.4973 GB, free: 5.613 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002079/0.4802, allocations: 1.12 MB / 0.4984 GB, free: 4.492 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002336/0.4825, allocations: 1.575 MB / 0.4999 GB, free: 2.742 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004117/0.4867, allocations: 2.78 MB / 0.5027 GB, free: 15.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/0.4867, allocations: 8 kB / 0.5027 GB, free: 15.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.00654/0.4932, allocations: 3.593 MB / 0.5062 GB, free: 12.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.689e-05/0.4932, allocations: 15.94 kB / 0.5062 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.377e-05/0.4933, allocations: 12.5 kB / 0.5062 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002102/0.4954, allocations: 0.8059 MB / 0.507 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001812/0.4972, allocations: 463.3 kB / 0.5074 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0123/0.5095, allocations: 11.17 MB / 0.5183 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002265/0.5117, allocations: 127.8 kB / 0.5185 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002103/0.512, allocations: 76 kB / 0.5185 GB, free: 14.77 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.002229/0.5142, allocations: 1.094 MB / 0.5196 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006799/0.5149, allocations: 266.3 kB / 0.5199 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006082/0.5209, allocations: 3.285 MB / 0.5231 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.952e-05/0.521, allocations: 16 kB / 0.5231 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.521, allocations: 4 kB / 0.5231 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.862e-05/0.521, allocations: 15.91 kB / 0.5231 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/0.5343, allocations: 6.821 MB / 0.5298 GB, free: 3.105 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.836e-05/0.5343, allocations: 4 kB / 0.5298 GB, free: 3.102 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/0.5356, allocations: 291.8 kB / 0.53 GB, free: 2.816 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002559/0.5382, allocations: 0.9391 MB / 0.531 GB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001791/0.5384, allocations: 39.98 kB / 0.531 GB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2584/0.7967, allocations: 14.62 MB / 0.5453 GB, free: 97.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.7968, allocations: 2.344 kB / 0.5453 GB, free: 97.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006489/0.8032, allocations: 4.859 MB / 0.55 GB, free: 95.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/0.8043, allocations: 0.5771 MB / 0.5506 GB, free: 95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003249/0.8047, allocations: 42.73 kB / 0.5506 GB, free: 94.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/0.8059, allocations: 114.4 kB / 0.5507 GB, free: 94.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004154/0.8063, allocations: 160 kB / 0.5509 GB, free: 94.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/0.8064, allocations: 49.69 kB / 0.5509 GB, free: 94.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002014/0.8084, allocations: 1.622 MB / 0.5525 GB, free: 94.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8084, allocations: 0 / 0.5525 GB, free: 94.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001962/0.8104, allocations: 0.7058 MB / 0.5532 GB, free: 94.23 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.0004051/0.8108, allocations: 223.4 kB / 0.5534 GB, free: 94.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004548/0.8153, allocations: 3.483 MB / 0.5568 GB, free: 91.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.8154, allocations: 0 / 0.5568 GB, free: 91.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003002/0.8184, allocations: 2.417 MB / 0.5592 GB, free: 89.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003265/0.8216, allocations: 0.7126 MB / 0.5599 GB, free: 89.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009915/0.8315, allocations: 6.9 MB / 0.5666 GB, free: 82.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001614/0.8331, allocations: 2.521 MB / 0.5691 GB, free: 79.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001693/0.8348, allocations: 0.5866 MB / 0.5696 GB, free: 79.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004294/0.8353, allocations: 159.4 kB / 0.5698 GB, free: 79.17 MB / 446.1 MB Notification: Performance of SimCode: time 1.523e-06/0.8353, allocations: 0 / 0.5698 GB, free: 79.17 MB / 446.1 MB Notification: Performance of Templates: time 0.06505/0.9003, allocations: 41.69 MB / 0.6105 GB, free: 37.95 MB / 446.1 MB " [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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins/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: 6.590524761006236]