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.001004/0.001004, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 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.001243/0.001243, allocations: 150.1 kB / 24.81 MB, free: 9.285 MB / 18.57 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 0.9992/0.9992, allocations: 173.4 MB / 201.4 MB, free: 9.199 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 268.4 MB, free: 6.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.42e-05/3.617e-05, allocations: 2.312 kB / 268.4 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01572/0.01576, allocations: 12.39 MB / 280.8 MB, free: 9.723 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008343/0.0241, allocations: 4.113 MB / 284.9 MB, free: 5.598 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002355/0.02646, allocations: 103.3 kB / 285 MB, free: 5.496 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002598/0.02906, allocations: 0.9705 MB / 286 MB, free: 4.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00509/0.03415, allocations: 1.296 MB / 287.3 MB, free: 3.215 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.03574, allocations: 0.5187 MB / 287.8 MB, free: 2.695 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1534/0.1892, allocations: 4.788 MB / 292.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003961/0.1931, allocations: 2.017 MB / 294.6 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005956/0.1991, allocations: 3.367 MB / 298 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003831/0.2029, allocations: 2.451 MB / 300.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001344/0.2042, allocations: 0.5414 MB / 301 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.2056, allocations: 0.6406 MB / 301.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001057/0.2066, allocations: 1.569 MB / 303.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001905/0.2085, allocations: 1.72 MB / 304.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003383/0.2119, allocations: 4.02 MB / 308.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2119, allocations: 2.125 kB / 308.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2119, allocations: 0.625 kB / 308.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001348/0.212, allocations: 0 / 308.9 MB, free: 12.28 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.004928/0.217, allocations: 4.787 MB / 313.7 MB, free: 9.496 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.217, allocations: 8.922 kB / 313.7 MB, free: 9.488 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008818/0.2179, allocations: 0.8057 MB / 314.5 MB, free: 8.684 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002372/0.2203, allocations: 2.209 MB / 316.7 MB, free: 6.559 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.2204, allocations: 263.4 kB / 317 MB, free: 6.301 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003639/0.2208, allocations: 358.2 kB / 317.3 MB, free: 5.957 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003141/0.2239, allocations: 2.808 MB / 320.1 MB, free: 3.168 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-05/0.224, allocations: 11.89 kB / 320.2 MB, free: 3.156 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002473/0.2242, allocations: 141.2 kB / 320.3 MB, free: 3.023 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001229/0.2243, allocations: 191 kB / 320.5 MB, free: 2.836 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001748/0.2261, allocations: 1.035 MB / 321.5 MB, free: 1.805 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01383/0.2399, allocations: 11.58 MB / 333.1 MB, free: 6.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.2416, allocations: 1.41 MB / 334.5 MB, free: 5.406 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001287/0.2429, allocations: 0.8422 MB / 335.4 MB, free: 4.586 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000171/0.2431, allocations: 61.98 kB / 335.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.2431, allocations: 55.39 kB / 335.5 MB, free: 4.461 MB / 282.7 MB Notification: Performance of pre-optimization done (n=198): time 3.506e-06/0.2431, allocations: 0 / 335.5 MB, free: 4.461 MB / 282.7 MB Notification: Performance of matching and sorting (n=218): time 0.007815/0.251, allocations: 4.08 MB / 339.5 MB, free: 448 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.251, allocations: 77.41 kB / 339.6 MB, free: 356 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002133/0.2531, allocations: 1.821 MB / 341.4 MB, free: 14.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.2532, allocations: 65.7 kB / 341.5 MB, free: 14.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001081/0.2543, allocations: 1.781 MB / 343.3 MB, free: 13 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005305/0.2548, allocations: 0.7875 MB / 344.1 MB, free: 12.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000585/0.2554, allocations: 452.1 kB / 344.5 MB, free: 11.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.2555, allocations: 476.8 kB / 345 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005211/0.2561, allocations: 284.4 kB / 345.3 MB, free: 11.1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009228/0.257, allocations: 0.9688 MB / 346.2 MB, free: 9.934 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001886/0.2589, allocations: 1.456 MB / 347.7 MB, free: 8.332 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.2589, allocations: 4 kB / 347.7 MB, free: 8.328 MB / 298.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002924/0.2618, allocations: 1.894 MB / 349.6 MB, free: 6.516 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.2618, allocations: 20 kB / 349.6 MB, free: 6.496 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.2618, allocations: 12 kB / 349.6 MB, free: 6.484 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001629/0.2635, allocations: 0.5908 MB / 350.2 MB, free: 5.883 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.2648, allocations: 0.4909 MB / 350.7 MB, free: 5.422 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005698/0.2705, allocations: 7.56 MB / 358.3 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009136/0.2714, allocations: 75.97 kB / 358.3 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/0.2715, allocations: 64 kB / 358.4 MB, free: 13.5 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.0007637/0.2723, allocations: 308.9 kB / 358.7 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004462/0.2728, allocations: 334.4 kB / 359 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003279/0.276, allocations: 1.671 MB / 360.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/0.2761, allocations: 20 kB / 360.7 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.2761, allocations: 8 kB / 360.7 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.2761, allocations: 11.95 kB / 360.7 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006625/0.2827, allocations: 4.098 MB / 364.8 MB, free: 7.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.2827, allocations: 0 / 364.8 MB, free: 7.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.2838, allocations: 359.2 kB / 365.2 MB, free: 6.984 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001352/0.2851, allocations: 0.6451 MB / 365.8 MB, free: 6.332 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.122e-05/0.2852, allocations: 55.97 kB / 365.9 MB, free: 6.277 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005116/0.2903, allocations: 9.232 MB / 375.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.2904, allocations: 7.469 kB / 375.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002872/0.2932, allocations: 2.288 MB / 377.4 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006133/0.2938, allocations: 453 kB / 377.9 MB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/0.294, allocations: 51.98 kB / 377.9 MB, free: 9.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005862/0.2946, allocations: 87.95 kB / 378 MB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002511/0.2949, allocations: 169 kB / 378.2 MB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-05/0.2949, allocations: 43.98 kB / 378.2 MB, free: 9.613 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008892/0.2958, allocations: 0.9674 MB / 379.2 MB, free: 8.715 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2958, allocations: 0 / 379.2 MB, free: 8.715 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001825/0.2976, allocations: 0.7851 MB / 379.9 MB, free: 7.93 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.0004053/0.2981, allocations: 253.2 kB / 380.2 MB, free: 7.711 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002065/0.3001, allocations: 2.022 MB / 382.2 MB, free: 5.719 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3001, allocations: 4 kB / 382.2 MB, free: 5.715 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001396/0.3015, allocations: 1.632 MB / 383.9 MB, free: 4.066 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/0.3033, allocations: 0.6495 MB / 384.5 MB, free: 3.43 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00693/0.3103, allocations: 6.396 MB / 390.9 MB, free: 12.99 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/0.3113, allocations: 1.018 MB / 391.9 MB, free: 11.95 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007078/0.312, allocations: 313 kB / 392.2 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/0.3131, allocations: 0.697 MB / 392.9 MB, free: 10.94 MB / 346.7 MB Notification: Performance of SimCode: time 7.01e-07/0.3131, allocations: 0 / 392.9 MB, free: 10.94 MB / 346.7 MB Notification: Performance of Templates: time 0.05548/0.3686, allocations: 42.49 MB / 435.4 MB, free: 1.18 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] 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","",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.5501298969611526]