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.001633/0.001633, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.002064/0.002064, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.476/1.476, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.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 1.503e-06/1.503e-06, allocations: 0 / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.502e-05/2.652e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01391/0.01393, allocations: 10.44 MB / 335.5 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00823/0.02216, allocations: 3.651 MB / 339.2 MB, free: 6.379 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002148/0.02431, allocations: 92.72 kB / 339.3 MB, free: 6.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002774/0.02708, allocations: 0.8762 MB / 340.1 MB, free: 5.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004255/0.03134, allocations: 1.177 MB / 341.3 MB, free: 4.691 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.0328, allocations: 0.4974 MB / 341.8 MB, free: 4.246 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006052/0.03885, allocations: 4.389 MB / 346.2 MB, free: 15.97 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002876/0.04173, allocations: 1.778 MB / 348 MB, free: 14.13 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004984/0.04671, allocations: 2.842 MB / 350.8 MB, free: 11.28 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003671/0.05038, allocations: 2.093 MB / 352.9 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008428/0.05122, allocations: 0.4961 MB / 353.4 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.05251, allocations: 0.5858 MB / 354 MB, free: 8.102 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001608/0.05412, allocations: 1.453 MB / 355.5 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002466/0.05659, allocations: 1.528 MB / 357 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007882/0.06447, allocations: 6.68 MB / 363.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.475e-06/0.06448, allocations: 0 / 363.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.06448, allocations: 0 / 363.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001513/0.06463, allocations: 0 / 363.7 MB, free: 14.41 MB / 334.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.009307/0.07394, allocations: 4.305 MB / 368 MB, free: 10.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.07398, allocations: 8.031 kB / 368 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/0.07543, allocations: 490.2 kB / 368.5 MB, free: 9.566 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004805/0.08023, allocations: 2.367 MB / 370.8 MB, free: 7.156 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002118/0.08044, allocations: 234.5 kB / 371 MB, free: 6.926 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005521/0.08099, allocations: 308.1 kB / 371.3 MB, free: 6.625 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008251/0.08925, allocations: 4.599 MB / 375.9 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.64e-05/0.08932, allocations: 11.89 kB / 376 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003306/0.08965, allocations: 132 kB / 376.1 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001599/0.08981, allocations: 130 kB / 376.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00683/0.09664, allocations: 3.775 MB / 380 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02115/0.1178, allocations: 11.72 MB / 391.7 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003286/0.1211, allocations: 2.09 MB / 393.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002884/0.124, allocations: 1.563 MB / 395.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002222/0.1242, allocations: 53.27 kB / 395.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.137e-05/0.1242, allocations: 55.88 kB / 395.5 MB, free: 14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=164): time 3.707e-06/0.1243, allocations: 0 / 395.5 MB, free: 14 MB / 366.1 MB Notification: Performance of matching and sorting (n=180): time 0.01886/0.1431, allocations: 8.483 MB / 404 MB, free: 5.453 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.1432, allocations: 69.41 kB / 404 MB, free: 5.375 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003412/0.1466, allocations: 2.157 MB / 406.2 MB, free: 3.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001723/0.1468, allocations: 53.7 kB / 406.2 MB, free: 3.121 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001291/0.148, allocations: 1.511 MB / 407.7 MB, free: 1.598 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005953/0.1486, allocations: 0.6236 MB / 408.4 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006406/0.1493, allocations: 367.4 kB / 408.7 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1494, allocations: 305.1 kB / 409 MB, free: 308 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001882/0.1513, allocations: 1.124 MB / 410.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002232/0.1535, allocations: 1.578 MB / 411.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004241/0.1578, allocations: 2.776 MB / 414.5 MB, free: 10.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.859e-05/0.1578, allocations: 8 kB / 414.5 MB, free: 10.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006609/0.1644, allocations: 3.566 MB / 418.1 MB, free: 6.871 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.1644, allocations: 8 kB / 418.1 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/0.1644, allocations: 12 kB / 418.1 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00212/0.1666, allocations: 0.817 MB / 418.9 MB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001826/0.1684, allocations: 455.3 kB / 419.4 MB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01203/0.1804, allocations: 10.46 MB / 429.8 MB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00203/0.1825, allocations: 127.8 kB / 429.9 MB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002062/0.1827, allocations: 72 kB / 430 MB, free: 10.4 MB / 398.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.002061/0.1847, allocations: 1.1 MB / 431.1 MB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005586/0.1853, allocations: 246.4 kB / 431.4 MB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006141/0.1914, allocations: 3.264 MB / 434.6 MB, free: 5.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.1914, allocations: 16 kB / 434.6 MB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/0.1915, allocations: 8 kB / 434.6 MB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/0.1915, allocations: 7.969 kB / 434.7 MB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/0.2033, allocations: 6.048 MB / 440.7 MB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.2033, allocations: 0 / 440.7 MB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/0.2047, allocations: 299.5 kB / 441 MB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002696/0.2073, allocations: 0.9229 MB / 441.9 MB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001587/0.2075, allocations: 39.98 kB / 442 MB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01575/0.2233, allocations: 13.64 MB / 455.6 MB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/0.2233, allocations: 12.08 kB / 455.6 MB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00848/0.2317, allocations: 4.83 MB / 460.4 MB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/0.2331, allocations: 490.3 kB / 460.9 MB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003383/0.2335, allocations: 43.94 kB / 461 MB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.2348, allocations: 123.9 kB / 461.1 MB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004368/0.2353, allocations: 161.6 kB / 461.2 MB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001322/0.2354, allocations: 55.92 kB / 461.3 MB, free: 10.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002337/0.2377, allocations: 1.464 MB / 462.8 MB, free: 8.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2377, allocations: 0 / 462.8 MB, free: 8.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002208/0.2399, allocations: 0.7032 MB / 463.5 MB, free: 7.977 MB / 430.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.0004574/0.2404, allocations: 206 kB / 463.7 MB, free: 7.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005658/0.246, allocations: 3.336 MB / 467 MB, free: 4.359 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.246, allocations: 0 / 467 MB, free: 4.359 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003812/0.2499, allocations: 2.351 MB / 469.4 MB, free: 1.922 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002977/0.2528, allocations: 0.6182 MB / 470 MB, free: 1.312 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1563/0.4092, allocations: 6.637 MB / 476.6 MB, free: 124.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002322/0.4115, allocations: 1.979 MB / 478.6 MB, free: 124.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0017/0.4132, allocations: 0.5621 MB / 479.1 MB, free: 124.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006258/0.4138, allocations: 151.4 kB / 479.3 MB, free: 124.2 MB / 430.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4138, allocations: 0 / 479.3 MB, free: 124.2 MB / 430.1 MB Notification: Performance of Templates: time 0.05611/0.4699, allocations: 40.76 MB / 0.5079 GB, free: 93.26 MB / 430.1 MB " [Timeout remaining time 660] 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.281170334666967]