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.001026/0.001026, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 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.001058/0.001058, allocations: 148.9 kB / 24.81 MB, free: 9.27 MB / 18.57 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.027/1.027, allocations: 173.3 MB / 201.4 MB, free: 9.23 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aims.idq_rr.[0-9,]+.|aims.is.[0-9,]+.|aims.idq_sr.[0-9,]+.|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.[0-9,]+.|aims.idq_rr.[0-9,]+.|aims.is.[0-9,]+.|aims.idq_sr.[0-9,]+.|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 1.563e-06/1.563e-06, allocations: 0 / 268.4 MB, free: 6.195 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.528e-05/1.684e-05, allocations: 2.312 kB / 268.4 MB, free: 6.191 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01257/0.01258, allocations: 11.38 MB / 279.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009718/0.0223, allocations: 3.681 MB / 283.5 MB, free: 7.062 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002203/0.02451, allocations: 87.44 kB / 283.6 MB, free: 6.977 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001705/0.02621, allocations: 0.8732 MB / 284.4 MB, free: 6.098 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002554/0.02877, allocations: 1.192 MB / 285.6 MB, free: 4.898 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000887/0.02965, allocations: 499.2 kB / 286.1 MB, free: 4.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003575/0.03323, allocations: 4.353 MB / 290.5 MB, free: 40 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1359/0.1691, allocations: 1.79 MB / 292.3 MB, free: 16.06 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004834/0.1739, allocations: 3.062 MB / 295.3 MB, free: 16.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003838/0.1778, allocations: 2.191 MB / 297.5 MB, free: 16.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001267/0.179, allocations: 491.6 kB / 298 MB, free: 16.06 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.1802, allocations: 0.5677 MB / 298.6 MB, free: 16.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00115/0.1813, allocations: 1.416 MB / 300 MB, free: 16.06 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002259/0.1836, allocations: 1.514 MB / 301.5 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003403/0.187, allocations: 3.557 MB / 305.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.187, allocations: 0 / 305.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.187, allocations: 3.531 kB / 305.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001195/0.1871, allocations: 0 / 305.1 MB, free: 14.39 MB / 266.7 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.005025/0.1921, allocations: 4.34 MB / 309.4 MB, free: 12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.1922, allocations: 16.39 kB / 309.4 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.1932, allocations: 0.6989 MB / 310.1 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002486/0.1957, allocations: 2.067 MB / 312.2 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/0.1958, allocations: 232.1 kB / 312.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002929/0.1961, allocations: 316.7 kB / 312.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002658/0.1988, allocations: 2.461 MB / 315.2 MB, free: 8.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.694e-05/0.1988, allocations: 10.2 kB / 315.2 MB, free: 8.422 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001765/0.199, allocations: 128 kB / 315.3 MB, free: 8.297 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.213e-05/0.1991, allocations: 133.3 kB / 315.4 MB, free: 8.168 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.2004, allocations: 0.9067 MB / 316.3 MB, free: 7.254 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00972/0.2101, allocations: 10.75 MB / 327.1 MB, free: 12.9 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.2114, allocations: 1.105 MB / 328.2 MB, free: 11.85 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009296/0.2123, allocations: 0.7333 MB / 328.9 MB, free: 11.13 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001612/0.2125, allocations: 53.3 kB / 329 MB, free: 11.08 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.2125, allocations: 54.7 kB / 329 MB, free: 11.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=164): time 2.855e-06/0.2125, allocations: 0 / 329 MB, free: 11.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=180): time 0.005902/0.2184, allocations: 3.595 MB / 332.6 MB, free: 7.438 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.2184, allocations: 69.41 kB / 332.7 MB, free: 7.355 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/0.2199, allocations: 1.766 MB / 334.5 MB, free: 5.816 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.402e-05/0.22, allocations: 61.7 kB / 334.5 MB, free: 5.75 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009085/0.2209, allocations: 1.629 MB / 336.2 MB, free: 4.195 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003687/0.2213, allocations: 0.6515 MB / 336.8 MB, free: 3.582 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003891/0.2217, allocations: 385.6 kB / 337.2 MB, free: 3.242 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.2218, allocations: 476.8 kB / 337.6 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003435/0.2221, allocations: 247.8 kB / 337.9 MB, free: 2.531 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006266/0.2228, allocations: 0.8709 MB / 338.8 MB, free: 1.469 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.224, allocations: 1.29 MB / 340.1 MB, free: 36 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.224, allocations: 4 kB / 340.1 MB, free: 32 kB / 282.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.002644/0.2266, allocations: 1.684 MB / 341.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.2266, allocations: 8 kB / 341.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.2267, allocations: 16 kB / 341.8 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001337/0.228, allocations: 0.503 MB / 342.3 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.2291, allocations: 408.1 kB / 342.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006011/0.2351, allocations: 10.03 MB / 352.7 MB, free: 3.023 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009104/0.236, allocations: 75.94 kB / 352.8 MB, free: 2.949 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.2361, allocations: 63.94 kB / 352.8 MB, free: 2.887 MB / 298.7 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.0006771/0.2368, allocations: 281.1 kB / 353.1 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003872/0.2372, allocations: 298.5 kB / 353.4 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/0.2395, allocations: 1.465 MB / 354.9 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.2395, allocations: 20 kB / 354.9 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.2395, allocations: 4 kB / 354.9 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.2395, allocations: 7.969 kB / 354.9 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005524/0.2451, allocations: 3.492 MB / 358.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.2451, allocations: 4.219 kB / 358.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008054/0.2459, allocations: 265.4 kB / 358.7 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00149/0.2474, allocations: 0.5648 MB / 359.2 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.2475, allocations: 39.98 kB / 359.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00769/0.2552, allocations: 13.53 MB / 372.8 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.2552, allocations: 4 kB / 372.8 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002932/0.2581, allocations: 2.004 MB / 374.8 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006648/0.2588, allocations: 398.3 kB / 375.2 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/0.259, allocations: 35.98 kB / 375.2 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007171/0.2597, allocations: 75.95 kB / 375.3 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002951/0.26, allocations: 149.3 kB / 375.4 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.528e-05/0.2601, allocations: 35.98 kB / 375.5 MB, free: 11.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001023/0.2611, allocations: 0.939 MB / 376.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2611, allocations: 4 kB / 376.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00179/0.2629, allocations: 0.6913 MB / 377.1 MB, free: 10.18 MB / 330.7 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%), (1,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003406/0.2632, allocations: 212.9 kB / 377.3 MB, free: 9.973 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002303/0.2655, allocations: 2.067 MB / 379.4 MB, free: 7.895 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.2655, allocations: 0 / 379.4 MB, free: 7.895 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001695/0.2672, allocations: 1.936 MB / 381.3 MB, free: 5.883 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/0.2691, allocations: 0.6224 MB / 381.9 MB, free: 5.273 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007871/0.277, allocations: 5.568 MB / 387.5 MB, free: 15.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009052/0.2779, allocations: 0.9027 MB / 388.4 MB, free: 14.75 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008857/0.2787, allocations: 287.2 kB / 388.7 MB, free: 14.46 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001307/0.2801, allocations: 0.6541 MB / 389.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of SimCode: time 7.31e-07/0.2801, allocations: 0 / 389.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of Templates: time 0.05268/0.3327, allocations: 42.27 MB / 431.6 MB, free: 4.184 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9597762008197606]