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.001671/0.001671, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001984/0.001984, allocations: 208.4 kB / 23.73 MB, free: 4.387 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.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.001601/0.001601, allocations: 47.94 kB / 378.2 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2383, allocations: 53.37 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.00559/0.2438, allocations: 3.974 MB / 435.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002725/0.2466, allocations: 1.558 MB / 437.1 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002474/0.2468, allocations: 15.94 kB / 437.1 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003439/0.2472, allocations: 129.3 kB / 437.3 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007605/0.2479, allocations: 357.6 kB / 437.6 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004268/0.2484, allocations: 243.6 kB / 437.8 MB, free: 444 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009688/0.2493, allocations: 0.9863 MB / 438.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002796/0.2496, allocations: 146.1 kB / 439 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004832/0.2501, allocations: 390.7 kB / 439.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005147/0.2506, allocations: 386.2 kB / 439.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.2507, allocations: 96 kB / 439.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003815/0.2511, allocations: 215.9 kB / 440 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001743/0.2513, allocations: 195.3 kB / 440.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003355/0.2516, allocations: 346.5 kB / 440.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.2528, allocations: 1.179 MB / 441.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2528, allocations: 3.938 kB / 441.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2528, allocations: 4 kB / 441.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.2528, allocations: 0 / 441.8 MB, free: 12.51 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.002336/0.2552, allocations: 1.042 MB / 442.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.2552, allocations: 12.03 kB / 442.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002553/0.2555, allocations: 88.45 kB / 442.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008176/0.2563, allocations: 465.4 kB / 443.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.2564, allocations: 131 kB / 443.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/0.2566, allocations: 68.48 kB / 443.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.2578, allocations: 0.7062 MB / 444.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.2578, allocations: 3.938 kB / 444.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.735e-05/0.2578, allocations: 28 kB / 444.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/0.2579, allocations: 12 kB / 444.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.259, allocations: 0.5204 MB / 444.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00335/0.2624, allocations: 1.971 MB / 446.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009979/0.2634, allocations: 449.2 kB / 447.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005464/0.2639, allocations: 254 kB / 447.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.2639, allocations: 11.94 kB / 447.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.264, allocations: 38.56 kB / 447.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.924e-06/0.264, allocations: 0 / 447.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.01295/0.2769, allocations: 3.321 MB / 450.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.642e-05/0.277, allocations: 93.53 kB / 450.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007642/0.2778, allocations: 0.5135 MB / 451.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.291e-05/0.2778, allocations: 37.7 kB / 451.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.2781, allocations: 316.8 kB / 451.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/0.2783, allocations: 230 kB / 452 MB, free: 1.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.2785, allocations: 110.3 kB / 452.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.2787, allocations: 366.8 kB / 452.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005883/0.2793, allocations: 257.1 kB / 452.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006656/0.28, allocations: 340.5 kB / 453.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.2812, allocations: 0.6071 MB / 453.7 MB, free: 196 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.2812, allocations: 4 kB / 453.7 MB, free: 192 kB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001614/0.2828, allocations: 0.7361 MB / 454.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.2828, allocations: 11.94 kB / 454.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.2828, allocations: 4 kB / 454.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001789/0.283, allocations: 40.75 kB / 454.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008191/0.2838, allocations: 163.8 kB / 454.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.285, allocations: 1.3 MB / 455.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000556/0.2856, allocations: 35.98 kB / 456 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.293e-05/0.2856, allocations: 27.97 kB / 456 MB, free: 13.75 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.000304/0.2859, allocations: 209.6 kB / 456.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.2861, allocations: 51.73 kB / 456.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/0.2879, allocations: 0.8356 MB / 457.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.288, allocations: 11.94 kB / 457.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.288, allocations: 4 kB / 457.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.288, allocations: 7.922 kB / 457.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003627/0.2916, allocations: 1.59 MB / 458.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.2916, allocations: 0 / 458.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005191/0.2921, allocations: 111.9 kB / 458.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00229/0.2944, allocations: 466.6 kB / 459.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-05/0.2945, allocations: 15.98 kB / 459.3 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005131/0.2996, allocations: 2.968 MB / 462.2 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.2996, allocations: 11.92 kB / 462.3 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003042/0.3026, allocations: 1.358 MB / 463.6 MB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003433/0.303, allocations: 135.7 kB / 463.7 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.545e-05/0.3031, allocations: 12 kB / 463.8 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005811/0.3036, allocations: 35.97 kB / 463.8 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.3038, allocations: 64.58 kB / 463.9 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/0.3038, allocations: 16 kB / 463.9 MB, free: 5.691 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004754/0.3043, allocations: 371.1 kB / 464.2 MB, free: 5.328 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3043, allocations: 0 / 464.2 MB, free: 5.328 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007022/0.305, allocations: 183.9 kB / 464.4 MB, free: 5.148 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.0002779/0.3053, allocations: 159 kB / 464.6 MB, free: 4.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.3068, allocations: 0.7036 MB / 465.3 MB, free: 4.266 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3068, allocations: 0 / 465.3 MB, free: 4.266 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009246/0.3077, allocations: 0.4983 MB / 465.8 MB, free: 3.754 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005988/0.3083, allocations: 74 kB / 465.8 MB, free: 3.684 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/0.3111, allocations: 1.484 MB / 467.3 MB, free: 2.168 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.3114, allocations: 307.1 kB / 467.6 MB, free: 1.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00031/0.3117, allocations: 64.66 kB / 467.7 MB, free: 1.773 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.3119, allocations: 51.41 kB / 467.7 MB, free: 1.723 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3119, allocations: 4 kB / 467.7 MB, free: 1.719 MB / 366.1 MB Notification: Performance of Templates: time 0.01933/0.3312, allocations: 10.29 MB / 478 MB, free: 7.543 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/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.7512389831244946]