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.001864/0.001864, allocations: 82.27 kB / 20.68 MB, free: 1.035 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.002271/0.002271, allocations: 163.8 kB / 23.96 MB, free: 4.164 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.421/1.421, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.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 1.302e-06/1.302e-06, allocations: 0 / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.251e-05, allocations: 5.375 kB / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005763/0.005785, allocations: 3.986 MB / 329 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003455/0.00924, allocations: 1.568 MB / 330.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004792/0.00972, allocations: 11.66 kB / 330.6 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004038/0.01012, allocations: 121.5 kB / 330.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.01115, allocations: 383.7 kB / 331.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005748/0.01172, allocations: 252.9 kB / 331.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001287/0.01301, allocations: 1.01 MB / 332.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003462/0.01336, allocations: 152.5 kB / 332.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009531/0.01431, allocations: 0.5531 MB / 333.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006055/0.01491, allocations: 337.6 kB / 333.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.01507, allocations: 95.34 kB / 333.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005163/0.01559, allocations: 210.3 kB / 333.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002073/0.01579, allocations: 198.9 kB / 333.9 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003983/0.01619, allocations: 294.2 kB / 334.2 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001612/0.0178, allocations: 1.222 MB / 335.4 MB, free: 9.613 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.01781, allocations: 1.156 kB / 335.4 MB, free: 9.613 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.01781, allocations: 0 / 335.4 MB, free: 9.613 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.086e-05/0.01783, allocations: 0 / 335.4 MB, free: 9.613 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.00266/0.02049, allocations: 1.034 MB / 336.4 MB, free: 8.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.02054, allocations: 13.09 kB / 336.5 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000328/0.02086, allocations: 94.16 kB / 336.6 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008843/0.02175, allocations: 466.3 kB / 337 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.02188, allocations: 128 kB / 337.1 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002046/0.02208, allocations: 67.36 kB / 337.2 MB, free: 8.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.02329, allocations: 0.7012 MB / 337.9 MB, free: 7.766 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.02331, allocations: 13.25 kB / 337.9 MB, free: 7.754 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.765e-05/0.02338, allocations: 20.31 kB / 337.9 MB, free: 7.738 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.02339, allocations: 14.44 kB / 337.9 MB, free: 7.738 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.0246, allocations: 0.5199 MB / 338.5 MB, free: 7.477 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003568/0.02817, allocations: 1.985 MB / 340.5 MB, free: 5.543 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.02923, allocations: 460.1 kB / 340.9 MB, free: 5.074 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005675/0.02979, allocations: 250 kB / 341.1 MB, free: 4.824 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.713e-05/0.02983, allocations: 4 kB / 341.1 MB, free: 4.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.306e-05/0.02988, allocations: 46.48 kB / 341.2 MB, free: 4.766 MB / 302.1 MB Notification: Performance of pre-optimization done (n=45): time 3.748e-06/0.02989, allocations: 0 / 341.2 MB, free: 4.766 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.01407/0.04396, allocations: 3.315 MB / 344.5 MB, free: 1.402 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.04402, allocations: 85.61 kB / 344.6 MB, free: 1.301 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007584/0.04477, allocations: 0.5135 MB / 345.1 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.611e-05/0.04484, allocations: 41.64 kB / 345.1 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002624/0.0451, allocations: 328.8 kB / 345.5 MB, free: 416 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/0.04531, allocations: 214.1 kB / 345.7 MB, free: 200 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/0.04554, allocations: 106.3 kB / 345.8 MB, free: 88 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002173/0.04576, allocations: 366.7 kB / 346.1 MB, free: 15.72 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006368/0.0464, allocations: 257.1 kB / 346.4 MB, free: 15.47 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007129/0.04711, allocations: 344.5 kB / 346.7 MB, free: 15.1 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.04851, allocations: 0.6032 MB / 347.3 MB, free: 14.46 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.04851, allocations: 0 / 347.3 MB, free: 14.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001826/0.05034, allocations: 0.7397 MB / 348.1 MB, free: 13.71 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.05036, allocations: 11.98 kB / 348.1 MB, free: 13.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.05037, allocations: 4 kB / 348.1 MB, free: 13.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000188/0.05056, allocations: 41.03 kB / 348.1 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008991/0.05146, allocations: 159.8 kB / 348.3 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/0.05275, allocations: 1.3 MB / 349.6 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006742/0.05343, allocations: 36.05 kB / 349.6 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.936e-05/0.05348, allocations: 23.98 kB / 349.6 MB, free: 12.04 MB / 318.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.0003588/0.05384, allocations: 209.6 kB / 349.8 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.05399, allocations: 59.61 kB / 349.9 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002089/0.05608, allocations: 0.8395 MB / 350.7 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.05609, allocations: 8 kB / 350.7 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.05609, allocations: 0 / 350.7 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.0561, allocations: 3.984 kB / 350.8 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003941/0.06005, allocations: 1.594 MB / 352.3 MB, free: 9.266 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.06005, allocations: 0 / 352.3 MB, free: 9.266 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005645/0.06061, allocations: 107.9 kB / 352.5 MB, free: 9.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002527/0.06314, allocations: 472.4 kB / 352.9 MB, free: 8.695 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.465e-05/0.0632, allocations: 19.98 kB / 352.9 MB, free: 8.676 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00546/0.06866, allocations: 2.961 MB / 355.9 MB, free: 5.609 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.06866, allocations: 32 / 355.9 MB, free: 5.609 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00323/0.07189, allocations: 1.366 MB / 357.3 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003229/0.07221, allocations: 131.6 kB / 357.4 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.505e-05/0.0723, allocations: 12 kB / 357.4 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006265/0.07293, allocations: 35.97 kB / 357.4 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.07307, allocations: 56.55 kB / 357.5 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-05/0.07312, allocations: 16 kB / 357.5 MB, free: 3.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004852/0.07361, allocations: 371.1 kB / 357.9 MB, free: 3.621 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.07361, allocations: 4 kB / 357.9 MB, free: 3.617 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007529/0.07436, allocations: 184.1 kB / 358.1 MB, free: 3.438 MB / 318.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.0003041/0.07466, allocations: 162.9 kB / 358.2 MB, free: 3.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001596/0.07626, allocations: 0.707 MB / 358.9 MB, free: 2.551 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.07626, allocations: 0 / 358.9 MB, free: 2.551 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.07727, allocations: 0.5067 MB / 359.4 MB, free: 2.031 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006436/0.07791, allocations: 73.88 kB / 359.5 MB, free: 1.961 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.08068, allocations: 1.347 MB / 360.8 MB, free: 0.582 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.08101, allocations: 306.9 kB / 361.1 MB, free: 260 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003047/0.08131, allocations: 72.64 kB / 361.2 MB, free: 188 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.08152, allocations: 56.47 kB / 361.3 MB, free: 132 kB / 318.1 MB Notification: Performance of SimCode: time 5.51e-07/0.08152, allocations: 0 / 361.3 MB, free: 132 kB / 318.1 MB Notification: Performance of Templates: time 0.01845/0.09996, allocations: 9.495 MB / 370.8 MB, free: 6.754 MB / 334.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins/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: 4.614347487688065]