Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00184/0.00184, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 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.002253/0.002253, allocations: 215.5 kB / 24.49 MB, free: 3.938 MB / 14.72 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.466/1.466, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 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.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 43.92 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2057, allocations: 53.37 MB / 432.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.00882/0.2146, allocations: 6.92 MB / 439.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004385/0.2189, allocations: 2.602 MB / 441.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000549/0.2195, allocations: 91.31 kB / 442 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.2206, allocations: 0.582 MB / 442.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.2222, allocations: 0.7731 MB / 443.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007497/0.223, allocations: 423.4 kB / 443.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004025/0.227, allocations: 3.288 MB / 447 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002759/0.2297, allocations: 2.004 MB / 449 MB, free: 5.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00281/0.2325, allocations: 1.704 MB / 450.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002469/0.235, allocations: 2.083 MB / 452.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005784/0.2356, allocations: 468 kB / 453.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.2367, allocations: 0.6636 MB / 453.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001154/0.2379, allocations: 1.262 MB / 455.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001635/0.2395, allocations: 1.583 MB / 456.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005751/0.2453, allocations: 6.154 MB / 462.9 MB, free: 7.961 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.2453, allocations: 0 / 462.9 MB, free: 7.961 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2453, allocations: 0 / 462.9 MB, free: 7.961 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.373e-05/0.2453, allocations: 0 / 462.9 MB, free: 7.961 MB / 366.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.006915/0.2522, allocations: 3.817 MB / 466.7 MB, free: 4.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2523, allocations: 8.031 kB / 466.7 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/0.2536, allocations: 446.5 kB / 467.2 MB, free: 3.645 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004039/0.2577, allocations: 2.127 MB / 469.3 MB, free: 1.477 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001825/0.2578, allocations: 221.8 kB / 469.5 MB, free: 1.258 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004446/0.2583, allocations: 284 kB / 469.8 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006834/0.2651, allocations: 4.442 MB / 474.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.285e-05/0.2652, allocations: 0 / 474.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002833/0.2655, allocations: 116 kB / 474.4 MB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001698/0.2656, allocations: 145.9 kB / 474.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005534/0.2712, allocations: 3.482 MB / 478 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01594/0.2871, allocations: 9.236 MB / 487.2 MB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002499/0.2896, allocations: 1.648 MB / 488.9 MB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002455/0.2921, allocations: 1.395 MB / 490.3 MB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000215/0.2923, allocations: 64.81 kB / 490.3 MB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.2923, allocations: 51.56 kB / 490.4 MB, free: 12.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 3.968e-06/0.2923, allocations: 3.938 kB / 490.4 MB, free: 12.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.009157/0.3015, allocations: 5.101 MB / 495.5 MB, free: 6.957 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.3015, allocations: 90.42 kB / 495.6 MB, free: 6.852 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002427/0.304, allocations: 1.725 MB / 497.3 MB, free: 5.117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-05/0.3041, allocations: 45.7 kB / 497.3 MB, free: 5.066 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00103/0.3051, allocations: 1.368 MB / 498.7 MB, free: 3.688 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00041/0.3055, allocations: 479.9 kB / 499.2 MB, free: 3.215 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004704/0.306, allocations: 279.4 kB / 499.5 MB, free: 2.934 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3061, allocations: 301.1 kB / 499.7 MB, free: 2.637 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/0.3074, allocations: 0.8198 MB / 0.4888 GB, free: 1.816 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/0.309, allocations: 1.2 MB / 0.49 GB, free: 480 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003039/0.312, allocations: 2.09 MB / 0.492 GB, free: 14.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.3121, allocations: 4 kB / 0.492 GB, free: 14.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004416/0.3165, allocations: 2.508 MB / 0.4945 GB, free: 11.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.3165, allocations: 12 kB / 0.4945 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/0.3165, allocations: 8 kB / 0.4945 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002079/0.3186, allocations: 483.1 kB / 0.495 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.32, allocations: 327.5 kB / 0.4953 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005713/0.3257, allocations: 4.214 MB / 0.4994 GB, free: 6.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.3269, allocations: 87.88 kB / 0.4995 GB, free: 6.504 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.3271, allocations: 56 kB / 0.4995 GB, free: 6.449 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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.001638/0.3287, allocations: 1.055 MB / 0.5006 GB, free: 5.383 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004072/0.3291, allocations: 186.8 kB / 0.5008 GB, free: 5.199 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003688/0.3328, allocations: 2.12 MB / 0.5028 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.3328, allocations: 11.97 kB / 0.5028 GB, free: 3.051 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.3328, allocations: 0 / 0.5028 GB, free: 3.051 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/0.3338, allocations: 366.7 kB / 0.5032 GB, free: 2.691 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002233/0.334, allocations: 31.98 kB / 0.5032 GB, free: 2.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009246/0.335, allocations: 91.91 kB / 0.5033 GB, free: 2.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/0.3352, allocations: 109 kB / 0.5034 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004367/0.3396, allocations: 2.263 MB / 0.5056 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004593/0.3442, allocations: 3.114 MB / 0.5087 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001208/0.3454, allocations: 0.8144 MB / 0.5095 GB, free: 12.24 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001791/0.3472, allocations: 1.197 MB / 0.5106 GB, free: 11.05 MB / 430.1 MB Notification: Performance of Backend: time 2.71e-07/0.3472, allocations: 0 / 0.5106 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003607/0.3508, allocations: 1.598 MB / 0.5122 GB, free: 9.438 MB / 430.1 MB Notification: Performance of SimCode: time 0.009419/0.3602, allocations: 5.8 MB / 0.5178 GB, free: 3.57 MB / 430.1 MB Notification: Performance of Templates: time 0.2284/0.5885, allocations: 35.05 MB / 0.5521 GB, free: 95.01 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.0153628069965634]