Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.0008266/0.0008266, allocations: 87.62 kB / 21.43 MB, free: 3.129 MB / 18.57 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.003671/0.003671, allocations: 163.6 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8497/0.8497, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 325.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.309e-05, allocations: 2.281 kB / 325.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.003518/0.003541, allocations: 3.21 MB / 329.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.005369, allocations: 1.609 MB / 330.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.005533, allocations: 11.94 kB / 330.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002026/0.007559, allocations: 2.678 MB / 333.3 MB, free: 7.754 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003881/0.007947, allocations: 222.4 kB / 333.6 MB, free: 7.535 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.008392, allocations: 330.3 kB / 333.9 MB, free: 7.215 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001167/0.009559, allocations: 1.845 MB / 335.7 MB, free: 5.367 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.00972, allocations: 96.31 kB / 335.8 MB, free: 5.273 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003659/0.01009, allocations: 429.1 kB / 336.2 MB, free: 4.855 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.01034, allocations: 291.3 kB / 336.5 MB, free: 4.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.292e-05/0.0104, allocations: 48 kB / 336.6 MB, free: 4.523 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.01052, allocations: 95.92 kB / 336.7 MB, free: 4.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004167/0.01094, allocations: 0.861 MB / 337.5 MB, free: 3.566 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002829/0.01122, allocations: 478.1 kB / 338 MB, free: 3.098 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.01281, allocations: 2.512 MB / 340.5 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.01281, allocations: 0 / 340.5 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01281, allocations: 0 / 340.5 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.01283, allocations: 0 / 340.5 MB, free: 0.5742 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002371/0.0152, allocations: 2.812 MB / 343.3 MB, free: 13.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.01524, allocations: 11.98 kB / 343.3 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002792/0.01552, allocations: 306.9 kB / 343.6 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.01707, allocations: 1.805 MB / 345.4 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.292e-05/0.01716, allocations: 110.7 kB / 345.5 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.01728, allocations: 44.73 kB / 345.6 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000508/0.01779, allocations: 454.3 kB / 346 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.0178, allocations: 0 / 346 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.01783, allocations: 16 kB / 346.1 MB, free: 10.9 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.01784, allocations: 11.94 kB / 346.1 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004302/0.01827, allocations: 327.7 kB / 346.4 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002358/0.02063, allocations: 2.565 MB / 348.9 MB, free: 7.922 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004037/0.02103, allocations: 308.4 kB / 349.2 MB, free: 7.605 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.02121, allocations: 149.7 kB / 349.4 MB, free: 7.453 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.02124, allocations: 8 kB / 349.4 MB, free: 7.445 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.02126, allocations: 38.56 kB / 349.4 MB, free: 7.398 MB / 314.7 MB Notification: Performance of pre-optimization done (n=37): time 1.262e-06/0.02126, allocations: 0 / 349.4 MB, free: 7.398 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.002738/0.024, allocations: 2.4 MB / 351.8 MB, free: 4.957 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.02404, allocations: 85.61 kB / 351.9 MB, free: 4.855 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003911/0.02795, allocations: 5.465 MB / 357.4 MB, free: 15.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.02798, allocations: 29.7 kB / 357.4 MB, free: 15.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007584/0.02874, allocations: 1.172 MB / 358.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.441e-05/0.02883, allocations: 174.5 kB / 358.8 MB, free: 14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.133e-05/0.02892, allocations: 86.17 kB / 358.8 MB, free: 13.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.02903, allocations: 322 kB / 359.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.02923, allocations: 144.9 kB / 359.3 MB, free: 13.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.02946, allocations: 221.1 kB / 359.5 MB, free: 13.2 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007334/0.03019, allocations: 385.5 kB / 359.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.0302, allocations: 0 / 359.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001367/0.03156, allocations: 0.6987 MB / 360.6 MB, free: 12.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/0.0316, allocations: 11.94 kB / 360.6 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.03161, allocations: 0 / 360.6 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.03163, allocations: 8 kB / 360.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.03193, allocations: 119.8 kB / 360.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.03194, allocations: 8.25 kB / 360.7 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005303/0.03247, allocations: 19.98 kB / 360.8 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.835e-05/0.03251, allocations: 16 kB / 360.8 MB, free: 11.91 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001133/0.03364, allocations: 0.9192 MB / 361.7 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002756/0.03392, allocations: 286.1 kB / 362 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.03508, allocations: 0.7996 MB / 362.8 MB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.729e-06/0.03509, allocations: 7.938 kB / 362.8 MB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.0351, allocations: 3.984 kB / 362.8 MB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.03511, allocations: 4 kB / 362.8 MB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.03625, allocations: 1.177 MB / 364 MB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.03625, allocations: 0 / 364 MB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.03651, allocations: 99.88 kB / 364.1 MB, free: 8.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002895/0.0368, allocations: 96.72 kB / 364.2 MB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.03683, allocations: 11.98 kB / 364.2 MB, free: 8.461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004248/0.03726, allocations: 0.6343 MB / 364.8 MB, free: 7.801 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.03726, allocations: 0 / 364.8 MB, free: 7.801 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.0384, allocations: 1.1 MB / 365.9 MB, free: 6.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005926/0.03899, allocations: 430 kB / 366.3 MB, free: 6.258 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.03911, allocations: 11.94 kB / 366.3 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000321/0.03943, allocations: 19.98 kB / 366.4 MB, free: 6.227 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.699e-05/0.03953, allocations: 32.44 kB / 366.4 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.03955, allocations: 15.98 kB / 366.4 MB, free: 6.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003528/0.04308, allocations: 3.986 MB / 370.4 MB, free: 2.203 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.04308, allocations: 0 / 370.4 MB, free: 2.203 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000609/0.04369, allocations: 204 kB / 370.6 MB, free: 2.004 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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 {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000885/0.04457, allocations: 457.8 kB / 371 MB, free: 1.738 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005935/0.04517, allocations: 362.2 kB / 371.4 MB, free: 1.383 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.04517, allocations: 0.5 kB / 371.4 MB, free: 1.383 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.04547, allocations: 198.8 kB / 371.6 MB, free: 1.188 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007308/0.0462, allocations: 183.3 kB / 371.8 MB, free: 1.004 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006048/0.05224, allocations: 5.534 MB / 377.3 MB, free: 11.42 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/0.05326, allocations: 1.254 MB / 378.5 MB, free: 10.13 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004151/0.05367, allocations: 96.48 kB / 378.6 MB, free: 10.04 MB / 346.7 MB Notification: Performance of SimCode: time 1.744e-06/0.05367, allocations: 0 / 378.6 MB, free: 10.04 MB / 346.7 MB Notification: Performance of Templates: time 0.04232/0.09599, allocations: 37.06 MB / 415.7 MB, free: 4.953 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.991079612635076]