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.0009083/0.0009083, allocations: 83.58 kB / 21.18 MB, free: 3.387 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.0009/0.0009, allocations: 165 kB / 24.56 MB, free: 16 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 0.9885/0.9885, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aimc.idq_sr.[0-9,]+.|aimc.is.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..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.[0-9,]+.|aimc.idq_sr.[0-9,]+.|aimc.is.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 273 MB, free: 1.492 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.121e-05/3.347e-05, allocations: 2.312 kB / 273 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.0166/0.01663, allocations: 12.85 MB / 285.9 MB, free: 4.582 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00946/0.02609, allocations: 4.211 MB / 290.1 MB, free: 368 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.0274, allocations: 103.3 kB / 290.2 MB, free: 264 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.137/0.1644, allocations: 0.9616 MB / 291.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004131/0.1686, allocations: 1.301 MB / 292.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.1697, allocations: 0.5327 MB / 293 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005709/0.1754, allocations: 4.803 MB / 297.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003089/0.1785, allocations: 2.027 MB / 299.8 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005503/0.184, allocations: 3.381 MB / 303.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003074/0.1871, allocations: 2.433 MB / 305.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001232/0.1883, allocations: 0.5424 MB / 306.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.1894, allocations: 0.6523 MB / 306.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000872/0.1903, allocations: 1.566 MB / 308.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001735/0.192, allocations: 1.721 MB / 310.1 MB, free: 9.273 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00313/0.1951, allocations: 4.033 MB / 314.1 MB, free: 6.152 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1951, allocations: 0 / 314.1 MB, free: 6.152 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1951, allocations: 0.625 kB / 314.1 MB, free: 6.152 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001078/0.1952, allocations: 3.5 kB / 314.1 MB, free: 6.152 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.004702/0.1999, allocations: 4.939 MB / 319.1 MB, free: 1.172 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.2, allocations: 8.031 kB / 319.1 MB, free: 1.164 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.2011, allocations: 0.8367 MB / 319.9 MB, free: 336 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002459/0.2036, allocations: 2.373 MB / 322.3 MB, free: 14.01 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.2037, allocations: 262.6 kB / 322.6 MB, free: 13.76 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000335/0.2041, allocations: 362.8 kB / 322.9 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003905/0.208, allocations: 3.04 MB / 326 MB, free: 10.24 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.514e-05/0.208, allocations: 11.94 kB / 326 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002286/0.2083, allocations: 143.1 kB / 326.1 MB, free: 10.09 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001317/0.2084, allocations: 182.3 kB / 326.3 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002561/0.211, allocations: 1.316 MB / 327.6 MB, free: 8.602 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01154/0.2225, allocations: 11.79 MB / 339.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/0.2243, allocations: 1.523 MB / 340.9 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.2256, allocations: 0.9604 MB / 341.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001804/0.2257, allocations: 65.97 kB / 341.9 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.2258, allocations: 59.39 kB / 342 MB, free: 10.28 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 3.136e-06/0.2258, allocations: 0 / 342 MB, free: 10.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.007891/0.2337, allocations: 5.084 MB / 347.1 MB, free: 5.223 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.2337, allocations: 81.34 kB / 347.2 MB, free: 5.129 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001862/0.2356, allocations: 1.884 MB / 349 MB, free: 3.203 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.901e-05/0.2357, allocations: 65.7 kB / 349.1 MB, free: 3.133 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009546/0.2366, allocations: 1.777 MB / 350.9 MB, free: 1.344 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006063/0.2373, allocations: 0.7877 MB / 351.7 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004678/0.2377, allocations: 442.5 kB / 352.1 MB, free: 128 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.2378, allocations: 476.8 kB / 352.6 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006488/0.2385, allocations: 376.4 kB / 352.9 MB, free: 15.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.2395, allocations: 1.043 MB / 354 MB, free: 13.99 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001965/0.2415, allocations: 1.623 MB / 355.6 MB, free: 12.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.2415, allocations: 8 kB / 355.6 MB, free: 12.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002785/0.2443, allocations: 2.102 MB / 357.7 MB, free: 10.14 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.2443, allocations: 15.94 kB / 357.7 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.2443, allocations: 12 kB / 357.7 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001395/0.2457, allocations: 0.6022 MB / 358.3 MB, free: 9.492 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.2468, allocations: 0.5209 MB / 358.9 MB, free: 9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005702/0.2525, allocations: 7.804 MB / 366.7 MB, free: 0.875 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000791/0.2533, allocations: 111.9 kB / 366.8 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.2534, allocations: 83.98 kB / 366.9 MB, free: 0.6836 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.0007645/0.2542, allocations: 301.5 kB / 367.1 MB, free: 420 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003873/0.2545, allocations: 334.3 kB / 367.5 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002794/0.2573, allocations: 1.836 MB / 369.3 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.2573, allocations: 20 kB / 369.3 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.2574, allocations: 11.94 kB / 369.3 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.2574, allocations: 11.95 kB / 369.4 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006347/0.2637, allocations: 4.995 MB / 374.3 MB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.2637, allocations: 8.031 kB / 374.4 MB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008503/0.2646, allocations: 371.6 kB / 374.7 MB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001502/0.2661, allocations: 0.6545 MB / 375.4 MB, free: 8.148 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/0.2662, allocations: 51.97 kB / 375.4 MB, free: 8.098 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006156/0.2724, allocations: 9.5 MB / 384.9 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.2724, allocations: 11.88 kB / 384.9 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003216/0.2756, allocations: 2.538 MB / 387.5 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006691/0.2762, allocations: 0.4942 MB / 388 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/0.2764, allocations: 51.98 kB / 388 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000606/0.277, allocations: 103.9 kB / 388.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000287/0.2773, allocations: 189.5 kB / 388.3 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.689e-05/0.2774, allocations: 59.98 kB / 388.4 MB, free: 10.6 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0011/0.2785, allocations: 1.075 MB / 389.4 MB, free: 9.504 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2785, allocations: 0 / 389.4 MB, free: 9.504 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001858/0.2804, allocations: 0.789 MB / 390.2 MB, free: 8.715 MB / 346.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.0005111/0.2809, allocations: 252 kB / 390.5 MB, free: 8.473 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003028/0.2839, allocations: 2.209 MB / 392.7 MB, free: 6.199 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.2839, allocations: 0 / 392.7 MB, free: 6.199 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001773/0.2857, allocations: 1.753 MB / 394.4 MB, free: 4.375 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.2872, allocations: 0.6509 MB / 395.1 MB, free: 3.746 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008885/0.2961, allocations: 6.455 MB / 401.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008409/0.297, allocations: 1.034 MB / 402.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009798/0.2979, allocations: 0.5124 MB / 403.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003942/0.2983, allocations: 168.5 kB / 403.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of SimCode: time 1.943e-06/0.2983, allocations: 0 / 403.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of Templates: time 0.1666/0.465, allocations: 41.52 MB / 444.8 MB, free: 114.3 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.893529197201133]