Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.001263/0.001263, allocations: 88.39 kB / 21.44 MB, free: 276 kB / 14.72 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.00136/0.00136, allocations: 163.1 kB / 24.71 MB, free: 3.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 158.6 MB / 186.5 MB, free: 6.387 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 299 MB, free: 8.703 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/2.969e-05, allocations: 2.281 kB / 299 MB, free: 8.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.008902/0.008932, allocations: 6.841 MB / 305.8 MB, free: 1.812 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005191/0.01412, allocations: 2.626 MB / 308.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/0.0159, allocations: 75.38 kB / 308.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.01752, allocations: 0.5897 MB / 309.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002337/0.01986, allocations: 0.7878 MB / 309.9 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.02093, allocations: 451.2 kB / 310.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004/0.02493, allocations: 3.513 MB / 313.8 MB, free: 9.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002485/0.02741, allocations: 1.856 MB / 315.7 MB, free: 7.836 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004468/0.03188, allocations: 2.477 MB / 318.2 MB, free: 5.359 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003102/0.03498, allocations: 1.816 MB / 320 MB, free: 3.539 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000654/0.03564, allocations: 460 kB / 320.4 MB, free: 3.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.03692, allocations: 0.6518 MB / 321.1 MB, free: 2.438 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001282/0.0382, allocations: 1.289 MB / 322.4 MB, free: 1.145 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1557/0.1939, allocations: 1.357 MB / 323.7 MB, free: 20.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007793/0.2017, allocations: 6.18 MB / 329.9 MB, free: 19.94 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.2017, allocations: 1.406 kB / 329.9 MB, free: 19.94 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2017, allocations: 1.25 kB / 329.9 MB, free: 19.94 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001807/0.2019, allocations: 0 / 329.9 MB, free: 19.94 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.01103/0.2129, allocations: 3.759 MB / 333.7 MB, free: 18.51 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.213, allocations: 8.594 kB / 333.7 MB, free: 18.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/0.2143, allocations: 403.7 kB / 334.1 MB, free: 18.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003693/0.218, allocations: 1.917 MB / 336 MB, free: 17.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001693/0.2182, allocations: 223.8 kB / 336.2 MB, free: 17.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004792/0.2187, allocations: 287.8 kB / 336.5 MB, free: 17.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007546/0.2262, allocations: 4.431 MB / 340.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.625e-05/0.2263, allocations: 5.312 kB / 340.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003094/0.2266, allocations: 123.8 kB / 341.1 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001904/0.2268, allocations: 145 kB / 341.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005248/0.232, allocations: 3.482 MB / 344.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01413/0.2461, allocations: 9.259 MB / 353.9 MB, free: 7.352 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00189/0.248, allocations: 1.645 MB / 355.6 MB, free: 5.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001986/0.25, allocations: 1.417 MB / 357 MB, free: 4.328 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002056/0.2502, allocations: 48.97 kB / 357 MB, free: 4.277 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.2503, allocations: 47.56 kB / 357.1 MB, free: 4.223 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 4.198e-06/0.2503, allocations: 0 / 357.1 MB, free: 4.223 MB / 302.1 MB Notification: Performance of matching and sorting (n=133): time 0.008609/0.2589, allocations: 5.143 MB / 362.2 MB, free: 15.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.18e-05/0.259, allocations: 94.42 kB / 362.3 MB, free: 14.96 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002888/0.2619, allocations: 1.721 MB / 364 MB, free: 13.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001329/0.262, allocations: 57.55 kB / 364.1 MB, free: 13.17 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001133/0.2631, allocations: 1.362 MB / 365.5 MB, free: 11.8 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004212/0.2635, allocations: 472.7 kB / 365.9 MB, free: 11.35 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005012/0.264, allocations: 278.1 kB / 366.2 MB, free: 11.08 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.2642, allocations: 305.1 kB / 366.5 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/0.2656, allocations: 0.8159 MB / 367.3 MB, free: 9.965 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001669/0.2672, allocations: 1.208 MB / 368.5 MB, free: 8.613 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003114/0.2703, allocations: 2.091 MB / 370.6 MB, free: 6.418 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.2703, allocations: 4 kB / 370.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004802/0.2751, allocations: 2.506 MB / 373.1 MB, free: 3.969 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.2752, allocations: 15.94 kB / 373.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.191e-05/0.2752, allocations: 8.188 kB / 373.1 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002031/0.2772, allocations: 486.4 kB / 373.6 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.2787, allocations: 328.9 kB / 373.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005988/0.2847, allocations: 4.202 MB / 378.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.2863, allocations: 92.66 kB / 378.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/0.2864, allocations: 63.98 kB / 378.3 MB, free: 14.73 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002423/0.2889, allocations: 1.045 MB / 379.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000563/0.2894, allocations: 178.9 kB / 379.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00402/0.2934, allocations: 2.118 MB / 381.6 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-05/0.2935, allocations: 23.92 kB / 381.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.2935, allocations: 4 kB / 381.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.2935, allocations: 3.984 kB / 381.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008739/0.3023, allocations: 4.481 MB / 386.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.3023, allocations: 2.844 kB / 386.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.3034, allocations: 234.4 kB / 386.4 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001908/0.3053, allocations: 460.8 kB / 386.8 MB, free: 6.203 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.3054, allocations: 38.95 kB / 386.9 MB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005734/0.3111, allocations: 4.109 MB / 391 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3111, allocations: 4.031 kB / 391 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00556/0.3167, allocations: 3.228 MB / 394.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/0.3177, allocations: 366.8 kB / 394.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002571/0.318, allocations: 36.05 kB / 394.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.319, allocations: 94.66 kB / 394.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002559/0.3193, allocations: 104.4 kB / 394.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/0.3194, allocations: 43.98 kB / 394.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001947/0.3214, allocations: 1.185 MB / 396 MB, free: 12.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3214, allocations: 0 / 396 MB, free: 12.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001967/0.3233, allocations: 0.5468 MB / 396.6 MB, free: 12.36 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006125/0.3239, allocations: 234.3 kB / 396.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003796/0.3277, allocations: 2.123 MB / 398.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.3277, allocations: 4 kB / 398.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002114/0.3299, allocations: 1.166 MB / 400.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/0.332, allocations: 413.1 kB / 400.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01229/0.3443, allocations: 5.746 MB / 406.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002415/0.3467, allocations: 1.871 MB / 408.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001622/0.3483, allocations: 477.5 kB / 408.6 MB, free: 328 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004589/0.3488, allocations: 120.5 kB / 408.7 MB, free: 208 kB / 350.1 MB Notification: Performance of SimCode: time 1.173e-06/0.3488, allocations: 0 / 408.7 MB, free: 208 kB / 350.1 MB Notification: Performance of Templates: time 0.05536/0.4042, allocations: 27.53 MB / 436.2 MB, free: 4.695 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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: 5.215654861181974]