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.001968/0.001968, allocations: 77.39 kB / 20.68 MB, free: 1.035 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.002498/0.002498, allocations: 155.3 kB / 23.94 MB, free: 4.176 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.446/1.446, allocations: 173.3 MB / 200.4 MB, free: 12.9 MB / 190.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 2.284e-06/2.284e-06, allocations: 0 / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.683e-05/2.911e-05, allocations: 2.281 kB / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01277/0.0128, allocations: 10.37 MB / 329.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009608/0.02241, allocations: 3.558 MB / 332.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003314/0.02572, allocations: 92.62 kB / 333 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003353/0.02908, allocations: 0.8767 MB / 333.8 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005055/0.03413, allocations: 1.176 MB / 335 MB, free: 8.797 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001844/0.03597, allocations: 499.5 kB / 335.5 MB, free: 8.359 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007661/0.04364, allocations: 4.371 MB / 339.9 MB, free: 5.672 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003265/0.0469, allocations: 1.785 MB / 341.7 MB, free: 4.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005113/0.05201, allocations: 2.828 MB / 344.5 MB, free: 2.012 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003588/0.0556, allocations: 2.085 MB / 346.6 MB, free: 15.92 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008374/0.05644, allocations: 0.4961 MB / 347.1 MB, free: 15.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.05775, allocations: 0.5895 MB / 347.7 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00156/0.05931, allocations: 1.445 MB / 349.1 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002637/0.06194, allocations: 1.524 MB / 350.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009697/0.07164, allocations: 6.657 MB / 357.3 MB, free: 5.184 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.07165, allocations: 0 / 357.3 MB, free: 5.184 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.07165, allocations: 0 / 357.3 MB, free: 5.184 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002084/0.07186, allocations: 0 / 357.3 MB, free: 5.184 MB / 318.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.01082/0.08268, allocations: 4.293 MB / 361.6 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.08272, allocations: 12.86 kB / 361.6 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/0.08404, allocations: 458.3 kB / 362 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004653/0.0887, allocations: 2.335 MB / 364.4 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002967/0.08899, allocations: 238.5 kB / 364.6 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006759/0.08967, allocations: 312.1 kB / 364.9 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008862/0.09853, allocations: 4.615 MB / 369.5 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.506e-05/0.09861, allocations: 3.953 kB / 369.5 MB, free: 8.699 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003403/0.09895, allocations: 128 kB / 369.6 MB, free: 8.574 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001894/0.09914, allocations: 130 kB / 369.8 MB, free: 8.445 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008093/0.1072, allocations: 3.775 MB / 373.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02844/0.1357, allocations: 11.72 MB / 385.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003722/0.1394, allocations: 2.082 MB / 387.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00323/0.1426, allocations: 1.574 MB / 388.9 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002557/0.1429, allocations: 49.28 kB / 389 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.695e-05/0.1429, allocations: 51.88 kB / 389 MB, free: 4.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=164): time 4.338e-06/0.1429, allocations: 0 / 389 MB, free: 4.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=180): time 0.02082/0.1638, allocations: 8.471 MB / 397.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/0.1638, allocations: 73.34 kB / 397.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003756/0.1676, allocations: 2.136 MB / 399.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002235/0.1678, allocations: 61.7 kB / 399.8 MB, free: 9.992 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001347/0.1691, allocations: 1.507 MB / 401.3 MB, free: 8.473 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000641/0.1698, allocations: 0.6197 MB / 401.9 MB, free: 7.848 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006791/0.1705, allocations: 367.4 kB / 402.2 MB, free: 7.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1706, allocations: 313.1 kB / 402.6 MB, free: 7.172 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001988/0.1726, allocations: 1.12 MB / 403.7 MB, free: 6.051 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002365/0.175, allocations: 1.57 MB / 405.2 MB, free: 4.312 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004403/0.1794, allocations: 2.788 MB / 408 MB, free: 1.352 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.1794, allocations: 7.938 kB / 408 MB, free: 1.344 MB / 366.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.007457/0.1868, allocations: 3.567 MB / 411.6 MB, free: 13.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/0.1869, allocations: 12 kB / 411.6 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.418e-05/0.1869, allocations: 12 kB / 411.6 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002246/0.1891, allocations: 0.7942 MB / 412.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001893/0.191, allocations: 463.3 kB / 412.9 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/0.204, allocations: 10.46 MB / 423.3 MB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002408/0.2064, allocations: 127.8 kB / 423.5 MB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002168/0.2066, allocations: 79.98 kB / 423.5 MB, free: 1.281 MB / 382.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.002498/0.2091, allocations: 1.09 MB / 424.6 MB, free: 188 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007171/0.2098, allocations: 238.5 kB / 424.9 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006671/0.2165, allocations: 3.272 MB / 428.1 MB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/0.2165, allocations: 16 kB / 428.1 MB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/0.2165, allocations: 8 kB / 428.2 MB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.449e-05/0.2166, allocations: 11.95 kB / 428.2 MB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01727/0.2338, allocations: 6.036 MB / 434.2 MB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/0.2338, allocations: 4.219 kB / 434.2 MB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002018/0.2359, allocations: 299.6 kB / 434.5 MB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003773/0.2396, allocations: 0.9236 MB / 435.4 MB, free: 5.223 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001892/0.2398, allocations: 39.98 kB / 435.5 MB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02185/0.2617, allocations: 13.65 MB / 449.1 MB, free: 6.816 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.2617, allocations: 0 / 449.1 MB, free: 6.816 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01231/0.274, allocations: 4.83 MB / 453.9 MB, free: 1.918 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00207/0.2761, allocations: 498.3 kB / 454.4 MB, free: 1.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006121/0.2767, allocations: 39.98 kB / 454.5 MB, free: 1.391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00197/0.2786, allocations: 119.9 kB / 454.6 MB, free: 1.273 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006753/0.2793, allocations: 169.6 kB / 454.7 MB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002012/0.2795, allocations: 47.98 kB / 454.8 MB, free: 1.062 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003449/0.283, allocations: 1.448 MB / 456.2 MB, free: 15.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.283, allocations: 0 / 456.2 MB, free: 15.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002776/0.2857, allocations: 0.7031 MB / 456.9 MB, free: 14.89 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.0006537/0.2864, allocations: 214.8 kB / 457.2 MB, free: 14.67 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006174/0.2926, allocations: 3.33 MB / 460.5 MB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.2926, allocations: 0 / 460.5 MB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003853/0.2964, allocations: 2.35 MB / 462.8 MB, free: 8.828 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00316/0.2996, allocations: 0.6047 MB / 463.4 MB, free: 8.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.3115, allocations: 6.648 MB / 470.1 MB, free: 1.527 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1604/0.4719, allocations: 1.967 MB / 472.1 MB, free: 126.9 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002905/0.4748, allocations: 0.5555 MB / 472.6 MB, free: 126.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006208/0.4754, allocations: 149.8 kB / 472.8 MB, free: 126.9 MB / 430.1 MB Notification: Performance of SimCode: time 2.014e-06/0.4754, allocations: 0 / 472.8 MB, free: 126.9 MB / 430.1 MB Notification: Performance of Templates: time 0.05877/0.5342, allocations: 40.57 MB / 0.5013 GB, free: 104.1 MB / 430.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.2022367641329765]