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.001062/0.001062, allocations: 79.75 kB / 21.19 MB, free: 3.379 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.001059/0.001059, allocations: 161.4 kB / 24.56 MB, free: 12 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.048/1.048, allocations: 177.2 MB / 205 MB, free: 5.234 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.254e-06/2.254e-06, allocations: 0 / 273 MB, free: 1.348 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.693e-05/3.918e-05, allocations: 2.312 kB / 273 MB, free: 1.344 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01772/0.01775, allocations: 12.87 MB / 285.9 MB, free: 4.422 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.02928, allocations: 4.203 MB / 290.1 MB, free: 212 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003894/0.03318, allocations: 103.3 kB / 290.2 MB, free: 108 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1516/0.1848, allocations: 0.9643 MB / 291.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005739/0.1906, allocations: 1.297 MB / 292.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.1921, allocations: 0.5276 MB / 293 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007311/0.1994, allocations: 4.81 MB / 297.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004042/0.2034, allocations: 2.028 MB / 299.8 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007736/0.2111, allocations: 3.222 MB / 303 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004994/0.2161, allocations: 2.489 MB / 305.5 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001843/0.218, allocations: 0.5513 MB / 306.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002231/0.2202, allocations: 0.651 MB / 306.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001401/0.2216, allocations: 1.608 MB / 308.3 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003045/0.2247, allocations: 1.745 MB / 310.1 MB, free: 9.148 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004893/0.2296, allocations: 4.072 MB / 314.2 MB, free: 5.984 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.2296, allocations: 3.406 kB / 314.2 MB, free: 5.984 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2296, allocations: 4 kB / 314.2 MB, free: 5.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001546/0.2297, allocations: 0 / 314.2 MB, free: 5.98 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.007103/0.2368, allocations: 4.982 MB / 319.1 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.2369, allocations: 8.031 kB / 319.2 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001517/0.2384, allocations: 0.8427 MB / 320 MB, free: 108 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003798/0.2422, allocations: 2.389 MB / 322.4 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002468/0.2424, allocations: 262 kB / 322.6 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000494/0.2429, allocations: 362.2 kB / 323 MB, free: 13.17 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005745/0.2487, allocations: 3.043 MB / 326 MB, free: 10 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-05/0.2487, allocations: 7.953 kB / 326 MB, free: 9.992 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002853/0.249, allocations: 149.4 kB / 326.2 MB, free: 9.852 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001898/0.2492, allocations: 179.1 kB / 326.4 MB, free: 9.676 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003859/0.2531, allocations: 1.331 MB / 327.7 MB, free: 8.352 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01745/0.2705, allocations: 11.87 MB / 339.6 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002448/0.273, allocations: 1.526 MB / 341.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/0.2746, allocations: 0.9566 MB / 342.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002143/0.2748, allocations: 65.97 kB / 342.1 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.2749, allocations: 58.95 kB / 342.2 MB, free: 9.949 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 4.439e-06/0.2749, allocations: 0 / 342.2 MB, free: 9.949 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.009234/0.2841, allocations: 5.071 MB / 347.2 MB, free: 4.902 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.2842, allocations: 84.91 kB / 347.3 MB, free: 4.809 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002255/0.2864, allocations: 1.888 MB / 349.2 MB, free: 2.879 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001193/0.2866, allocations: 69.7 kB / 349.3 MB, free: 2.805 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000943/0.2875, allocations: 1.781 MB / 351.1 MB, free: 1.012 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005147/0.288, allocations: 0.7817 MB / 351.8 MB, free: 244 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004928/0.2885, allocations: 438.6 kB / 352.3 MB, free: 15.8 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.2886, allocations: 476.8 kB / 352.7 MB, free: 15.33 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007225/0.2894, allocations: 380.4 kB / 353.1 MB, free: 14.96 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.2904, allocations: 1.05 MB / 354.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001849/0.2922, allocations: 1.621 MB / 355.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/0.2922, allocations: 4 kB / 355.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003145/0.2954, allocations: 2.113 MB / 357.9 MB, free: 9.801 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.2954, allocations: 8 kB / 357.9 MB, free: 9.793 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/0.2954, allocations: 20 kB / 357.9 MB, free: 9.773 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001524/0.297, allocations: 0.6028 MB / 358.5 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.2981, allocations: 0.529 MB / 359.1 MB, free: 8.656 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006159/0.3043, allocations: 7.799 MB / 366.9 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/0.3058, allocations: 119.9 kB / 367 MB, free: 428 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/0.306, allocations: 80 kB / 367.1 MB, free: 348 kB / 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.001347/0.3073, allocations: 297.6 kB / 367.3 MB, free: 68 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006647/0.308, allocations: 342.3 kB / 367.7 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002862/0.3109, allocations: 1.835 MB / 369.5 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.832e-05/0.3109, allocations: 27.94 kB / 369.5 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.3109, allocations: 8 kB / 369.5 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/0.3109, allocations: 11.95 kB / 369.6 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00787/0.3188, allocations: 5.03 MB / 374.6 MB, free: 8.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.3188, allocations: 4 kB / 374.6 MB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009097/0.3197, allocations: 379.8 kB / 375 MB, free: 8.395 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001599/0.3213, allocations: 0.6769 MB / 375.6 MB, free: 7.699 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001495/0.3214, allocations: 51.92 kB / 375.7 MB, free: 7.648 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006743/0.3282, allocations: 9.585 MB / 385.3 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3282, allocations: 4 kB / 385.3 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003835/0.332, allocations: 2.546 MB / 387.8 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009611/0.333, allocations: 0.4982 MB / 388.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002652/0.3332, allocations: 51.98 kB / 388.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007949/0.334, allocations: 115.9 kB / 388.5 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003316/0.3344, allocations: 189.5 kB / 388.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.391e-05/0.3345, allocations: 59.98 kB / 388.7 MB, free: 10.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001409/0.3359, allocations: 1.083 MB / 389.8 MB, free: 8.934 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3359, allocations: 0 / 389.8 MB, free: 8.934 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002066/0.3379, allocations: 0.7929 MB / 390.6 MB, free: 8.141 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%), (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.0005455/0.3385, allocations: 239.6 kB / 390.8 MB, free: 7.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003212/0.3417, allocations: 2.222 MB / 393.1 MB, free: 5.625 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.3417, allocations: 0 / 393.1 MB, free: 5.625 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002014/0.3437, allocations: 1.779 MB / 394.8 MB, free: 3.77 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/0.346, allocations: 0.6576 MB / 395.5 MB, free: 3.133 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.3568, allocations: 6.469 MB / 402 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/0.358, allocations: 1.018 MB / 403 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001605/0.3596, allocations: 0.5125 MB / 403.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005043/0.3601, allocations: 172.4 kB / 403.7 MB, free: 10.85 MB / 362.7 MB Notification: Performance of SimCode: time 2.515e-06/0.3601, allocations: 0 / 403.7 MB, free: 10.85 MB / 362.7 MB Notification: Performance of Templates: time 0.1826/0.5427, allocations: 40.5 MB / 444.2 MB, free: 114.6 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=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: 5.578537116758525]