Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.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.0015/0.0015, allocations: 84.48 kB / 20.95 MB, free: 476 kB / 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.001734/0.001734, allocations: 146 kB / 24.24 MB, free: 3.52 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.44/1.44, allocations: 173.3 MB / 200.8 MB, free: 12.75 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.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 267.3 MB, free: 10.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.502e-05/2.65e-05, allocations: 2.312 kB / 267.3 MB, free: 10.2 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01472/0.01474, allocations: 11.29 MB / 278.6 MB, free: 14.85 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01024/0.02498, allocations: 4 MB / 282.6 MB, free: 10.84 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004455/0.02944, allocations: 99.38 kB / 282.7 MB, free: 10.74 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004071/0.03351, allocations: 0.9702 MB / 283.7 MB, free: 9.766 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005756/0.03926, allocations: 1.281 MB / 285 MB, free: 8.477 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001926/0.04119, allocations: 0.5227 MB / 285.5 MB, free: 7.953 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.007122/0.04831, allocations: 4.795 MB / 290.3 MB, free: 3.133 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003354/0.05167, allocations: 2.011 MB / 292.3 MB, free: 1.059 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006597/0.05826, allocations: 3.158 MB / 295.4 MB, free: 13.91 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004504/0.06277, allocations: 2.287 MB / 297.7 MB, free: 11.61 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001099/0.06387, allocations: 0.5508 MB / 298.3 MB, free: 11.06 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.06547, allocations: 0.6443 MB / 298.9 MB, free: 10.42 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001639/0.06711, allocations: 1.574 MB / 300.5 MB, free: 8.84 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003024/0.07013, allocations: 1.723 MB / 302.2 MB, free: 7.113 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1586/0.2287, allocations: 7.537 MB / 309.8 MB, free: 25.61 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.447e-06/0.2287, allocations: 4.594 kB / 309.8 MB, free: 25.61 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2287, allocations: 0 / 309.8 MB, free: 25.61 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0003046/0.229, allocations: 0 / 309.8 MB, free: 25.61 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.0122/0.2412, allocations: 4.687 MB / 314.5 MB, free: 23.85 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.2413, allocations: 10.14 kB / 314.5 MB, free: 23.85 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002384/0.2436, allocations: 0.8106 MB / 315.3 MB, free: 23.6 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005738/0.2494, allocations: 2.619 MB / 317.9 MB, free: 23.02 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/0.2496, allocations: 264.5 kB / 318.2 MB, free: 23.02 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007682/0.2504, allocations: 354.4 kB / 318.5 MB, free: 23.01 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009396/0.2598, allocations: 5.28 MB / 323.8 MB, free: 22.43 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-05/0.2599, allocations: 11 kB / 323.8 MB, free: 22.43 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003365/0.2602, allocations: 144.5 kB / 323.9 MB, free: 22.33 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001424/0.2603, allocations: 187.3 kB / 324.1 MB, free: 22.31 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007306/0.2677, allocations: 4.281 MB / 328.4 MB, free: 20.78 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02069/0.2883, allocations: 13.06 MB / 341.5 MB, free: 11.66 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003035/0.2914, allocations: 2.7 MB / 344.2 MB, free: 9.02 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002473/0.2938, allocations: 1.886 MB / 346 MB, free: 7.137 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002394/0.2941, allocations: 65.97 kB / 346.1 MB, free: 7.07 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.2941, allocations: 56.56 kB / 346.2 MB, free: 7.008 MB / 286.1 MB Notification: Performance of pre-optimization done (n=198): time 4.338e-06/0.2941, allocations: 0 / 346.2 MB, free: 7.008 MB / 286.1 MB Notification: Performance of matching and sorting (n=218): time 0.02134/0.3155, allocations: 9.658 MB / 355.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.05e-05/0.3155, allocations: 81.34 kB / 355.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005432/0.321, allocations: 2.179 MB / 358.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003967/0.3214, allocations: 61.7 kB / 358.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001864/0.3232, allocations: 1.666 MB / 359.8 MB, free: 9.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001134/0.3244, allocations: 0.7544 MB / 360.6 MB, free: 8.594 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001176/0.3255, allocations: 416.4 kB / 361 MB, free: 8.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.3257, allocations: 309.1 kB / 361.3 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002899/0.3286, allocations: 1.297 MB / 362.6 MB, free: 6.574 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002955/0.3316, allocations: 1.774 MB / 364.3 MB, free: 4.621 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005467/0.3371, allocations: 3.212 MB / 367.5 MB, free: 1.277 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.688e-05/0.3371, allocations: 7.469 kB / 367.6 MB, free: 1.273 MB / 302.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008455/0.3455, allocations: 4.152 MB / 371.7 MB, free: 13.2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/0.3456, allocations: 11.94 kB / 371.7 MB, free: 13.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.539e-05/0.3456, allocations: 16 kB / 371.7 MB, free: 13.17 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003127/0.3487, allocations: 0.8787 MB / 372.6 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002317/0.351, allocations: 0.5286 MB / 373.1 MB, free: 11.78 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01247/0.3635, allocations: 9.048 MB / 382.2 MB, free: 2.469 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002425/0.3659, allocations: 107.9 kB / 382.3 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004399/0.3664, allocations: 91.98 kB / 382.4 MB, free: 2.273 MB / 318.1 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.002702/0.3691, allocations: 1.217 MB / 383.6 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001188/0.3703, allocations: 338.3 kB / 383.9 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007352/0.3776, allocations: 3.669 MB / 387.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/0.3776, allocations: 22.83 kB / 387.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.117e-05/0.3777, allocations: 19.91 kB / 387.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-05/0.3777, allocations: 7.969 kB / 387.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01623/0.3939, allocations: 7.107 MB / 394.8 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-05/0.3939, allocations: 4 kB / 394.8 MB, free: 5.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001892/0.3958, allocations: 382.9 kB / 395.1 MB, free: 5.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003538/0.3994, allocations: 0.9351 MB / 396.1 MB, free: 4.617 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003403/0.3997, allocations: 51.97 kB / 396.1 MB, free: 4.566 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01513/0.4148, allocations: 10.53 MB / 406.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/0.4149, allocations: 7.406 kB / 406.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01176/0.4266, allocations: 5.547 MB / 412.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001848/0.4285, allocations: 0.5451 MB / 412.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009264/0.4294, allocations: 48 kB / 412.8 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002001/0.4314, allocations: 115.9 kB / 412.9 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005678/0.432, allocations: 189.4 kB / 413.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002121/0.4322, allocations: 59.98 kB / 413.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.003201/0.4354, allocations: 1.489 MB / 414.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4354, allocations: 0 / 414.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003556/0.4389, allocations: 0.7929 MB / 415.4 MB, free: 0.832 MB / 350.1 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%), (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.0007383/0.4397, allocations: 241 kB / 415.7 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006868/0.4465, allocations: 3.622 MB / 419.3 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.4465, allocations: 0 / 419.3 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004383/0.4509, allocations: 2.323 MB / 421.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004216/0.4551, allocations: 0.6463 MB / 422.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01613/0.4713, allocations: 7.718 MB / 430 MB, free: 2.262 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003893/0.4752, allocations: 2.234 MB / 432.2 MB, free: 15.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002483/0.4776, allocations: 0.6412 MB / 432.9 MB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008674/0.4785, allocations: 164.5 kB / 433 MB, free: 15.18 MB / 382.1 MB Notification: Performance of SimCode: time 1.533e-06/0.4785, allocations: 0 / 433 MB, free: 15.18 MB / 382.1 MB Notification: Performance of Templates: time 0.2234/0.7019, allocations: 40.26 MB / 473.3 MB, free: 144 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.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: 7.7550633661448956]