Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.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.001506/0.001506, allocations: 84.34 kB / 20.95 MB, free: 3.453 MB / 18.57 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.00157/0.00157, allocations: 165.3 kB / 24.27 MB, free: 144 kB / 18.57 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.508/1.508, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 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.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 272.4 MB, free: 1.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.202e-05/3.362e-05, allocations: 2.312 kB / 272.4 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01714/0.01717, allocations: 11.35 MB / 283.7 MB, free: 6.371 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009174/0.02634, allocations: 4.066 MB / 287.8 MB, free: 2.293 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001945/0.02829, allocations: 99.38 kB / 287.9 MB, free: 2.195 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002879/0.03117, allocations: 0.978 MB / 288.8 MB, free: 1.211 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1235/0.1546, allocations: 1.282 MB / 290.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.1565, allocations: 0.5335 MB / 290.7 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006306/0.1628, allocations: 4.803 MB / 295.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005083/0.1679, allocations: 2.007 MB / 297.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009481/0.1774, allocations: 3.193 MB / 300.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005437/0.1828, allocations: 2.294 MB / 303 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00244/0.1852, allocations: 0.553 MB / 303.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002224/0.1875, allocations: 0.657 MB / 304.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00118/0.1886, allocations: 1.575 MB / 305.7 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00239/0.191, allocations: 1.732 MB / 307.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005731/0.1968, allocations: 7.562 MB / 315 MB, free: 4.719 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1968, allocations: 0 / 315 MB, free: 4.719 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1968, allocations: 0.625 kB / 315 MB, free: 4.719 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001864/0.197, allocations: 0 / 315 MB, free: 4.719 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.008241/0.2052, allocations: 4.714 MB / 319.8 MB, free: 15.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.2053, allocations: 8.031 kB / 319.8 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002569/0.2078, allocations: 0.8407 MB / 320.6 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005578/0.2134, allocations: 2.631 MB / 323.2 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002936/0.2137, allocations: 263.4 kB / 323.5 MB, free: 12.31 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007135/0.2144, allocations: 363.8 kB / 323.8 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01076/0.2252, allocations: 5.283 MB / 329.1 MB, free: 6.566 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.259e-05/0.2253, allocations: 9.266 kB / 329.1 MB, free: 6.559 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003926/0.2256, allocations: 146.7 kB / 329.3 MB, free: 6.418 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002412/0.2259, allocations: 180 kB / 329.5 MB, free: 6.242 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008632/0.2345, allocations: 4.291 MB / 333.7 MB, free: 1.957 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02741/0.2619, allocations: 13.06 MB / 346.8 MB, free: 4.949 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005053/0.267, allocations: 2.707 MB / 349.5 MB, free: 2.305 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003742/0.2707, allocations: 1.875 MB / 351.4 MB, free: 444 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002885/0.271, allocations: 65.97 kB / 351.5 MB, free: 376 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.702e-05/0.2711, allocations: 56.56 kB / 351.5 MB, free: 312 kB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 5.29e-06/0.2711, allocations: 4 kB / 351.5 MB, free: 308 kB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.02343/0.2945, allocations: 9.665 MB / 361.2 MB, free: 6.668 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.842e-05/0.2946, allocations: 81.34 kB / 361.3 MB, free: 6.574 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004287/0.2989, allocations: 2.199 MB / 363.5 MB, free: 4.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003001/0.2992, allocations: 61.7 kB / 363.5 MB, free: 4.273 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001644/0.3008, allocations: 1.67 MB / 365.2 MB, free: 2.594 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009521/0.3018, allocations: 0.7594 MB / 365.9 MB, free: 1.848 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008121/0.3026, allocations: 420.3 kB / 366.4 MB, free: 1.434 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3028, allocations: 301.1 kB / 366.7 MB, free: 1.137 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002503/0.3053, allocations: 1.305 MB / 368 MB, free: 15.83 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003165/0.3084, allocations: 1.774 MB / 369.7 MB, free: 13.87 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005833/0.3143, allocations: 3.215 MB / 372.9 MB, free: 10.53 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.33e-05/0.3143, allocations: 7.562 kB / 373 MB, free: 10.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.009041/0.3233, allocations: 4.153 MB / 377.1 MB, free: 6.449 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/0.3234, allocations: 12 kB / 377.1 MB, free: 6.438 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.122e-05/0.3234, allocations: 12 kB / 377.1 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003683/0.3271, allocations: 0.9359 MB / 378.1 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002597/0.3297, allocations: 0.5229 MB / 378.6 MB, free: 4.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01356/0.3432, allocations: 9.042 MB / 387.6 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002374/0.3456, allocations: 115.9 kB / 387.7 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002773/0.3459, allocations: 87.98 kB / 387.8 MB, free: 11.47 MB / 346.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.002554/0.3484, allocations: 1.226 MB / 389.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008365/0.3493, allocations: 334.3 kB / 389.4 MB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007974/0.3572, allocations: 3.684 MB / 393.1 MB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.732e-05/0.3573, allocations: 23.94 kB / 393.1 MB, free: 6.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-05/0.3573, allocations: 8 kB / 393.1 MB, free: 6.223 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-05/0.3573, allocations: 7.969 kB / 393.1 MB, free: 6.215 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01552/0.3728, allocations: 7.1 MB / 400.2 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/0.3728, allocations: 4 kB / 400.2 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001882/0.3747, allocations: 388.5 kB / 400.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003964/0.3787, allocations: 0.9816 MB / 401.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001888/0.3789, allocations: 55.97 kB / 401.6 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01494/0.3938, allocations: 10.53 MB / 412.2 MB, free: 2.801 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.3938, allocations: 4 kB / 412.2 MB, free: 2.797 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01093/0.4048, allocations: 5.541 MB / 417.7 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0017/0.4065, allocations: 0.5489 MB / 418.3 MB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003868/0.4068, allocations: 48 kB / 418.3 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/0.4082, allocations: 115.9 kB / 418.4 MB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005138/0.4088, allocations: 189 kB / 418.6 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001798/0.4089, allocations: 63.98 kB / 418.7 MB, free: 12.26 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002784/0.4117, allocations: 1.489 MB / 420.1 MB, free: 10.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4117, allocations: 0 / 420.1 MB, free: 10.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002867/0.4146, allocations: 0.8007 MB / 420.9 MB, free: 9.953 MB / 378.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%), (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.0006925/0.4153, allocations: 248.2 kB / 421.2 MB, free: 9.738 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007213/0.4225, allocations: 3.618 MB / 424.8 MB, free: 6.141 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.188e-06/0.4225, allocations: 4.062 kB / 424.8 MB, free: 6.137 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004498/0.427, allocations: 2.308 MB / 427.1 MB, free: 3.809 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003688/0.4307, allocations: 0.6564 MB / 427.8 MB, free: 3.168 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1352/0.5659, allocations: 7.732 MB / 435.5 MB, free: 117.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002795/0.5687, allocations: 2.232 MB / 437.7 MB, free: 117.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002025/0.5707, allocations: 0.6456 MB / 438.4 MB, free: 117.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000575/0.5713, allocations: 170.4 kB / 438.6 MB, free: 117.3 MB / 378.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5713, allocations: 0 / 438.6 MB, free: 117.3 MB / 378.7 MB Notification: Performance of Templates: time 0.05767/0.629, allocations: 40.42 MB / 479 MB, free: 88.48 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.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.830461649922654]