Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001818/0.001818, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0021/0.0021, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.583/1.583, allocations: 230.4 MB / 258.1 MB, free: 8.152 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.84 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2995, allocations: 53.32 MB / 432 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005852/0.3054, allocations: 3.498 MB / 435.5 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002962/0.3083, allocations: 1.66 MB / 437.2 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002568/0.3086, allocations: 7.938 kB / 437.2 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003149/0.3117, allocations: 2.667 MB / 439.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005851/0.3123, allocations: 222.5 kB / 440.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008028/0.3131, allocations: 327.8 kB / 440.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002017/0.3151, allocations: 1.813 MB / 442.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.3154, allocations: 99.95 kB / 442.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000433/0.3158, allocations: 321 kB / 442.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004803/0.3163, allocations: 358.7 kB / 443 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.82e-05/0.3164, allocations: 48 kB / 443 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.3166, allocations: 87.98 kB / 443.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007114/0.3173, allocations: 0.853 MB / 444 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008129/0.3181, allocations: 0.9424 MB / 444.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002719/0.3208, allocations: 2.65 MB / 447.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3208, allocations: 0 / 447.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3208, allocations: 4 kB / 447.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.897e-05/0.3208, allocations: 0 / 447.6 MB, free: 7.793 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004738/0.3256, allocations: 2.911 MB / 450.5 MB, free: 4.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3256, allocations: 12.03 kB / 450.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004867/0.3261, allocations: 302.9 kB / 450.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002912/0.329, allocations: 1.866 MB / 452.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.032e-05/0.3291, allocations: 63.19 kB / 452.7 MB, free: 2.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/0.3293, allocations: 47.88 kB / 452.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007629/0.33, allocations: 399 kB / 453.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.3301, allocations: 4 kB / 453.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.084e-05/0.3301, allocations: 12 kB / 453.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.3301, allocations: 8 kB / 453.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007965/0.3309, allocations: 331.7 kB / 453.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004514/0.3354, allocations: 2.904 MB / 456.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006568/0.3361, allocations: 297 kB / 456.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003401/0.3364, allocations: 161.6 kB / 456.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/0.3365, allocations: 4 kB / 456.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.3365, allocations: 43.09 kB / 456.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 1.963e-06/0.3365, allocations: 0 / 456.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.005088/0.3416, allocations: 2.473 MB / 459.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/0.3417, allocations: 85.55 kB / 459.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006801/0.3485, allocations: 5.455 MB / 464.9 MB, free: 6.098 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.844e-05/0.3485, allocations: 33.7 kB / 464.9 MB, free: 6.059 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001234/0.3498, allocations: 1.192 MB / 466.1 MB, free: 4.863 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/0.3499, allocations: 170.5 kB / 466.3 MB, free: 4.695 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.3501, allocations: 94.19 kB / 466.4 MB, free: 4.594 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3502, allocations: 325.9 kB / 466.7 MB, free: 4.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003545/0.3506, allocations: 141 kB / 466.9 MB, free: 4.133 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004118/0.351, allocations: 221.7 kB / 467.1 MB, free: 3.895 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007789/0.3518, allocations: 380.3 kB / 467.4 MB, free: 3.496 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.3518, allocations: 7.938 kB / 467.4 MB, free: 3.488 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001366/0.3531, allocations: 0.6972 MB / 468.1 MB, free: 2.785 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3532, allocations: 8 kB / 468.2 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.3532, allocations: 0 / 468.2 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.3532, allocations: 7.984 kB / 468.2 MB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005283/0.3537, allocations: 127.8 kB / 468.3 MB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.3537, allocations: 4 kB / 468.3 MB, free: 2.641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004267/0.3542, allocations: 20.23 kB / 468.3 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/0.3542, allocations: 20 kB / 468.3 MB, free: 2.602 MB / 366.1 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.001261/0.3555, allocations: 0.9191 MB / 469.2 MB, free: 1.672 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003403/0.3558, allocations: 290 kB / 469.5 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/0.3573, allocations: 0.802 MB / 470.3 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/0.3573, allocations: 7.984 kB / 470.3 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3573, allocations: 0 / 470.3 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.3573, allocations: 0 / 470.3 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/0.3594, allocations: 1.481 MB / 471.8 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3594, allocations: 3.938 kB / 471.8 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000455/0.3599, allocations: 95.88 kB / 471.9 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003537/0.3602, allocations: 96.77 kB / 472 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/0.3603, allocations: 19.98 kB / 472 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000692/0.361, allocations: 0.6227 MB / 472.7 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.361, allocations: 3.938 kB / 472.7 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.3629, allocations: 1.09 MB / 473.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/0.3639, allocations: 0.4991 MB / 474.2 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/0.364, allocations: 4 kB / 474.3 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004657/0.3645, allocations: 27.98 kB / 474.3 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.381e-05/0.3646, allocations: 28.39 kB / 474.3 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.059e-05/0.3646, allocations: 16 kB / 474.3 MB, free: 12.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.005409/0.37, allocations: 3.986 MB / 478.3 MB, free: 8.484 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.37, allocations: 0 / 478.3 MB, free: 8.484 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008476/0.3709, allocations: 208 kB / 478.5 MB, free: 8.281 MB / 382.1 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.001557/0.3724, allocations: 430 kB / 478.9 MB, free: 8.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009506/0.3734, allocations: 360.8 kB / 479.3 MB, free: 7.668 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3734, allocations: 0 / 479.3 MB, free: 7.668 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004829/0.3739, allocations: 206.9 kB / 479.5 MB, free: 7.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.3749, allocations: 186.2 kB / 479.7 MB, free: 7.285 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008063/0.3829, allocations: 5.504 MB / 485.2 MB, free: 1.734 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001774/0.3847, allocations: 1.825 MB / 487 MB, free: 15.88 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005858/0.3853, allocations: 279.8 kB / 487.3 MB, free: 15.6 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002723/0.3856, allocations: 91.42 kB / 487.4 MB, free: 15.51 MB / 398.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3856, allocations: 0 / 487.4 MB, free: 15.51 MB / 398.1 MB Notification: Performance of Templates: time 0.03132/0.4169, allocations: 15.82 MB / 0.4914 GB, free: 15.74 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 5.165551733691245]