Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009293/0.0009293, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001956/0.001956, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.008/1.008, allocations: 177 MB / 205.2 MB, free: 5.043 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 273.4 MB, free: 1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.286e-05, allocations: 2.312 kB / 273.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01089/0.01091, allocations: 12.51 MB / 286 MB, free: 4.426 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008176/0.01909, allocations: 4.357 MB / 290.3 MB, free: 56 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.1368/0.1559, allocations: 100.1 kB / 290.4 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002982/0.1588, allocations: 1.002 MB / 291.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003744/0.1626, allocations: 1.31 MB / 292.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.1639, allocations: 0.5275 MB / 293.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006513/0.1704, allocations: 4.863 MB / 298.1 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003701/0.1741, allocations: 2.072 MB / 300.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008244/0.1823, allocations: 3.385 MB / 303.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00537/0.1877, allocations: 2.446 MB / 306 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001993/0.1897, allocations: 0.5433 MB / 306.6 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003048/0.1927, allocations: 0.6566 MB / 307.2 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00139/0.1941, allocations: 1.581 MB / 308.8 MB, free: 9.871 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003251/0.1974, allocations: 1.729 MB / 310.5 MB, free: 8.953 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004932/0.2023, allocations: 4.045 MB / 314.6 MB, free: 5.273 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.2023, allocations: 3.984 kB / 314.6 MB, free: 5.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2023, allocations: 0 / 314.6 MB, free: 5.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002006/0.2025, allocations: 0 / 314.6 MB, free: 5.27 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: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.005783/0.2083, allocations: 4.42 MB / 319 MB, free: 1.039 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.2083, allocations: 11.98 kB / 319 MB, free: 1.027 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.2094, allocations: 0.6928 MB / 319.7 MB, free: 352 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002499/0.2119, allocations: 1.646 MB / 321.4 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/0.2121, allocations: 269.8 kB / 321.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003858/0.2125, allocations: 358.6 kB / 322 MB, free: 14.15 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003526/0.216, allocations: 2.86 MB / 324.8 MB, free: 11.32 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-05/0.2161, allocations: 3.953 kB / 324.8 MB, free: 11.32 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002203/0.2163, allocations: 152.8 kB / 325 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001593/0.2164, allocations: 191.1 kB / 325.2 MB, free: 10.99 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.2182, allocations: 1.078 MB / 326.2 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01195/0.2302, allocations: 9.16 MB / 335.4 MB, free: 1.207 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.2318, allocations: 1.357 MB / 336.8 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009427/0.2327, allocations: 0.782 MB / 337.5 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001709/0.2329, allocations: 57.98 kB / 337.6 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.2329, allocations: 60.55 kB / 337.7 MB, free: 15.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 3.757e-06/0.2329, allocations: 0 / 337.7 MB, free: 15.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.007451/0.2404, allocations: 3.99 MB / 341.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.004e-05/0.2404, allocations: 76.59 kB / 341.7 MB, free: 11.01 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/0.242, allocations: 1.514 MB / 343.2 MB, free: 9.746 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.2421, allocations: 65.7 kB / 343.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007904/0.2429, allocations: 1.363 MB / 344.7 MB, free: 8.391 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004296/0.2434, allocations: 0.7498 MB / 345.4 MB, free: 7.684 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004135/0.2438, allocations: 396.1 kB / 345.8 MB, free: 7.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.773e-05/0.2438, allocations: 301.1 kB / 346.1 MB, free: 7.043 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004404/0.2443, allocations: 299.8 kB / 346.4 MB, free: 6.746 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005921/0.2449, allocations: 0.7212 MB / 347.1 MB, free: 5.898 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.2461, allocations: 1.287 MB / 348.4 MB, free: 4.531 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.2461, allocations: 4 kB / 348.4 MB, free: 4.527 MB / 298.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002215/0.2483, allocations: 1.539 MB / 349.9 MB, free: 3.074 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.2484, allocations: 12 kB / 349.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/0.2484, allocations: 12 kB / 350 MB, free: 3.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00137/0.2498, allocations: 0.5672 MB / 350.5 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001755/0.2515, allocations: 0.5984 MB / 351.1 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005008/0.2565, allocations: 5.698 MB / 356.8 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.258, allocations: 79.92 kB / 356.9 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.2582, allocations: 72 kB / 357 MB, free: 11.88 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[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 (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * 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): 3 systems {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001052/0.2592, allocations: 253.9 kB / 357.2 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004456/0.2597, allocations: 235.7 kB / 357.5 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/0.2618, allocations: 1.416 MB / 358.9 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/0.2619, allocations: 20 kB / 358.9 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.2619, allocations: 8 kB / 358.9 MB, free: 9.977 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.2619, allocations: 7.969 kB / 358.9 MB, free: 9.969 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005327/0.2672, allocations: 3.438 MB / 362.3 MB, free: 6.781 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.2672, allocations: 4 kB / 362.3 MB, free: 6.777 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/0.2685, allocations: 0.5235 MB / 362.9 MB, free: 6.262 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001392/0.2698, allocations: 0.6093 MB / 363.5 MB, free: 5.645 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001528/0.27, allocations: 55.97 kB / 363.5 MB, free: 5.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005509/0.2755, allocations: 6.946 MB / 370.5 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.2755, allocations: 7.938 kB / 370.5 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002912/0.2784, allocations: 1.947 MB / 372.4 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007429/0.2792, allocations: 336.5 kB / 372.8 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/0.2794, allocations: 47.98 kB / 372.8 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005898/0.28, allocations: 83.95 kB / 372.9 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003086/0.2803, allocations: 165.6 kB / 373.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001813/0.2804, allocations: 51.98 kB / 373.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008172/0.2813, allocations: 0.7693 MB / 373.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2813, allocations: 3.938 kB / 373.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00193/0.2832, allocations: 0.7929 MB / 374.7 MB, free: 10.18 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(3,25,88.9%), (2,12,100.0%), (1,1,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.0005277/0.2837, allocations: 229.6 kB / 374.9 MB, free: 9.969 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002335/0.2861, allocations: 1.714 MB / 376.6 MB, free: 8.242 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.658e-05/0.2861, allocations: 25.81 kB / 376.6 MB, free: 8.219 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001459/0.2875, allocations: 1.34 MB / 378 MB, free: 6.848 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/0.2894, allocations: 0.6492 MB / 378.6 MB, free: 6.223 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/0.2994, allocations: 6.194 MB / 384.8 MB, free: 15.99 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009684/0.3004, allocations: 0.8737 MB / 385.7 MB, free: 15.1 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00122/0.3016, allocations: 305.2 kB / 386 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001185/0.3028, allocations: 0.624 MB / 386.6 MB, free: 14.17 MB / 346.7 MB Notification: Performance of SimCode: time 2.926e-06/0.3028, allocations: 0 / 386.6 MB, free: 14.17 MB / 346.7 MB Notification: Performance of Templates: time 0.0589/0.3617, allocations: 42.48 MB / 429.1 MB, free: 4.223 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.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: 5.0056383311748505]