Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.001878/0.001878, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002414/0.002414, allocations: 219.5 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 230.5 MB / 258.1 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 68.05 kB / 379 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2332, allocations: 53.41 MB / 432.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005982/0.2392, allocations: 3.978 MB / 436.4 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003078/0.2422, allocations: 1.555 MB / 437.9 MB, free: 1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003099/0.2425, allocations: 15.88 kB / 437.9 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003823/0.2429, allocations: 122.5 kB / 438.1 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008514/0.2438, allocations: 369.6 kB / 438.4 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004797/0.2443, allocations: 247.5 kB / 438.7 MB, free: 268 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00103/0.2453, allocations: 0.9785 MB / 439.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002903/0.2456, allocations: 150.1 kB / 439.8 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005392/0.2461, allocations: 398.7 kB / 440.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005147/0.2466, allocations: 378.2 kB / 440.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.2468, allocations: 96 kB / 440.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003848/0.2471, allocations: 215.9 kB / 440.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.2473, allocations: 195.3 kB / 441 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003407/0.2477, allocations: 342.5 kB / 441.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.249, allocations: 1.186 MB / 442.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.249, allocations: 0 / 442.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.249, allocations: 0 / 442.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.249, allocations: 0 / 442.6 MB, free: 12.35 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.002459/0.2514, allocations: 1.038 MB / 443.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.2515, allocations: 15.98 kB / 443.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002606/0.2517, allocations: 92.45 kB / 443.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008707/0.2526, allocations: 469.4 kB / 444.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.2527, allocations: 127 kB / 444.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002057/0.253, allocations: 76.42 kB / 444.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.2542, allocations: 0.6985 MB / 445.1 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.2542, allocations: 0 / 445.1 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.602e-05/0.2542, allocations: 28 kB / 445.1 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.2542, allocations: 12 kB / 445.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.2554, allocations: 0.5204 MB / 445.6 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003471/0.2589, allocations: 1.979 MB / 447.6 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.2599, allocations: 457 kB / 448 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006126/0.2605, allocations: 246.1 kB / 448.3 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.2605, allocations: 8 kB / 448.3 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.2606, allocations: 42.5 kB / 448.3 MB, free: 6.332 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.615e-06/0.2606, allocations: 0 / 448.3 MB, free: 6.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.01291/0.2735, allocations: 3.325 MB / 451.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/0.2736, allocations: 97.53 kB / 451.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007373/0.2743, allocations: 0.5173 MB / 452.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.007e-05/0.2744, allocations: 37.7 kB / 452.3 MB, free: 2.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/0.2746, allocations: 316.8 kB / 452.6 MB, free: 1.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/0.2748, allocations: 222.1 kB / 452.8 MB, free: 1.754 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.275, allocations: 114.3 kB / 452.9 MB, free: 1.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.2752, allocations: 366.8 kB / 453.3 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005898/0.2758, allocations: 245.2 kB / 453.5 MB, free: 1.031 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006623/0.2765, allocations: 352.5 kB / 453.9 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.2777, allocations: 0.5993 MB / 454.5 MB, free: 20 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.2777, allocations: 0 / 454.5 MB, free: 20 kB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001597/0.2793, allocations: 0.7436 MB / 455.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.2793, allocations: 14.27 kB / 455.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.2793, allocations: 4 kB / 455.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001627/0.2795, allocations: 41.08 kB / 455.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008096/0.2803, allocations: 167.8 kB / 455.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.2815, allocations: 1.292 MB / 456.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005711/0.2821, allocations: 36.05 kB / 456.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.814e-05/0.2821, allocations: 31.98 kB / 456.8 MB, free: 13.58 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.0003007/0.2824, allocations: 197.7 kB / 457 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.2825, allocations: 55.67 kB / 457.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001907/0.2844, allocations: 0.8435 MB / 457.9 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.2845, allocations: 8 kB / 457.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.2845, allocations: 0 / 457.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.2845, allocations: 7.922 kB / 457.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003632/0.2881, allocations: 1.59 MB / 459.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.2881, allocations: 4 kB / 459.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005194/0.2886, allocations: 103.9 kB / 459.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002305/0.2909, allocations: 464.4 kB / 460.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-05/0.291, allocations: 23.98 kB / 460.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005193/0.2962, allocations: 2.965 MB / 463.1 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.2962, allocations: 4.031 kB / 463.1 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003099/0.2993, allocations: 1.362 MB / 464.4 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003579/0.2996, allocations: 131.7 kB / 464.5 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.663e-05/0.2997, allocations: 16 kB / 464.6 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000585/0.3003, allocations: 39.97 kB / 464.6 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.3004, allocations: 56.48 kB / 464.7 MB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-05/0.3005, allocations: 16 kB / 464.7 MB, free: 5.531 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004825/0.301, allocations: 371.1 kB / 465 MB, free: 5.172 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.301, allocations: 0 / 465 MB, free: 5.172 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007435/0.3017, allocations: 191.9 kB / 465.2 MB, free: 4.984 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.0002973/0.302, allocations: 143 kB / 465.4 MB, free: 4.832 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001547/0.3036, allocations: 0.707 MB / 466.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3036, allocations: 0 / 466.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009436/0.3045, allocations: 0.5066 MB / 466.6 MB, free: 3.594 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006222/0.3051, allocations: 76.92 kB / 466.7 MB, free: 3.523 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002876/0.308, allocations: 1.521 MB / 468.2 MB, free: 1.965 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.3083, allocations: 303.1 kB / 468.5 MB, free: 1.641 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/0.3085, allocations: 59.41 kB / 468.5 MB, free: 1.582 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3085, allocations: 0 / 468.5 MB, free: 1.582 MB / 366.1 MB Notification: Performance of Templates: time 0.01702/0.3256, allocations: 11.91 MB / 480.4 MB, free: 5.699 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.782073426991701]