Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.001808/0.001808, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.002131/0.002131, allocations: 213.1 kB / 24.48 MB, free: 3.957 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.453/1.453, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 47.92 kB / 379 MB, free: 2.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2537, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005658/0.2594, allocations: 3.985 MB / 436.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002858/0.2622, allocations: 1.551 MB / 437.9 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003135/0.2626, allocations: 19.88 kB / 437.9 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003539/0.2629, allocations: 114.9 kB / 438 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008177/0.2637, allocations: 371.6 kB / 438.4 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004509/0.2642, allocations: 243.6 kB / 438.6 MB, free: 428 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001021/0.2652, allocations: 0.9747 MB / 439.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002793/0.2655, allocations: 162 kB / 439.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005143/0.266, allocations: 402.7 kB / 440.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000543/0.2665, allocations: 426.2 kB / 440.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.2667, allocations: 96 kB / 440.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003663/0.267, allocations: 219.9 kB / 440.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.2672, allocations: 199.3 kB / 441 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003407/0.2675, allocations: 342.5 kB / 441.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.2688, allocations: 1.183 MB / 442.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2688, allocations: 0 / 442.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2688, allocations: 0 / 442.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.2688, allocations: 4 kB / 442.6 MB, free: 12.44 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002534/0.2713, allocations: 1.042 MB / 443.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.2714, allocations: 8.031 kB / 443.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002525/0.2716, allocations: 88.45 kB / 443.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008753/0.2725, allocations: 481.3 kB / 444.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.2726, allocations: 123 kB / 444.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002098/0.2728, allocations: 72.5 kB / 444.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.2741, allocations: 0.7024 MB / 445.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.2741, allocations: 0 / 445.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.848e-05/0.2741, allocations: 20 kB / 445.1 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.2742, allocations: 12 kB / 445.1 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.2753, allocations: 0.5243 MB / 445.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003638/0.279, allocations: 1.975 MB / 447.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.28, allocations: 453.2 kB / 448 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000657/0.2807, allocations: 257.9 kB / 448.3 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.2807, allocations: 4 kB / 448.3 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.2807, allocations: 42.5 kB / 448.3 MB, free: 6.426 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.355e-06/0.2807, allocations: 3.938 kB / 448.3 MB, free: 6.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.01459/0.2953, allocations: 3.318 MB / 451.7 MB, free: 3.062 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/0.2954, allocations: 93.48 kB / 451.8 MB, free: 2.953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000759/0.2962, allocations: 0.5213 MB / 452.3 MB, free: 2.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.622e-05/0.2962, allocations: 33.7 kB / 452.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.2965, allocations: 316.8 kB / 452.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/0.2967, allocations: 222.1 kB / 452.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002211/0.2969, allocations: 114.3 kB / 452.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.2971, allocations: 374.8 kB / 453.3 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000621/0.2977, allocations: 241.2 kB / 453.5 MB, free: 1.125 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006577/0.2984, allocations: 348.5 kB / 453.9 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.2996, allocations: 0.6031 MB / 454.5 MB, free: 116 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2996, allocations: 4 kB / 454.5 MB, free: 112 kB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001712/0.3013, allocations: 0.74 MB / 455.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.3013, allocations: 7.938 kB / 455.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.3013, allocations: 4 kB / 455.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001724/0.3015, allocations: 36.83 kB / 455.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009447/0.3025, allocations: 167.7 kB / 455.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.3036, allocations: 1.304 MB / 456.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006645/0.3043, allocations: 43.94 kB / 456.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.3044, allocations: 23.98 kB / 456.8 MB, free: 13.67 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003218/0.3047, allocations: 201.7 kB / 457 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.3049, allocations: 59.73 kB / 457.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001991/0.3069, allocations: 0.8317 MB / 457.9 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.3069, allocations: 12 kB / 457.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.3069, allocations: 0 / 457.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.3069, allocations: 7.922 kB / 457.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00394/0.3108, allocations: 1.586 MB / 459.5 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3108, allocations: 0 / 459.5 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005825/0.3114, allocations: 111.9 kB / 459.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002517/0.3139, allocations: 475.8 kB / 460.1 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-05/0.314, allocations: 16 kB / 460.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005654/0.3197, allocations: 2.961 MB / 463.1 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3197, allocations: 0 / 463.1 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003326/0.323, allocations: 1.366 MB / 464.4 MB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003527/0.3233, allocations: 131.7 kB / 464.6 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.239e-05/0.3234, allocations: 12 kB / 464.6 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006607/0.3241, allocations: 43.97 kB / 464.6 MB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.3242, allocations: 56.5 kB / 464.7 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/0.3243, allocations: 19.98 kB / 464.7 MB, free: 5.621 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005038/0.3249, allocations: 367.1 kB / 465 MB, free: 5.266 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3249, allocations: 0 / 465 MB, free: 5.266 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007749/0.3256, allocations: 191.9 kB / 465.2 MB, free: 5.078 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * Array equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002993/0.3259, allocations: 147 kB / 465.4 MB, free: 4.922 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001604/0.3275, allocations: 0.7113 MB / 466.1 MB, free: 4.199 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.31e-05/0.3275, allocations: 4.188 kB / 466.1 MB, free: 4.195 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009591/0.3285, allocations: 0.4943 MB / 466.6 MB, free: 3.688 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006155/0.3291, allocations: 74 kB / 466.7 MB, free: 3.617 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003011/0.3321, allocations: 1.524 MB / 468.2 MB, free: 2.059 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.3325, allocations: 307.1 kB / 468.5 MB, free: 1.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002217/0.3327, allocations: 55.41 kB / 468.5 MB, free: 1.676 MB / 366.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3327, allocations: 4 kB / 468.5 MB, free: 1.672 MB / 366.1 MB Notification: Performance of Templates: time 0.01659/0.3493, allocations: 11.9 MB / 480.4 MB, free: 5.801 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.745094148005592]