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.001814/0.001814, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.002057/0.002057, allocations: 215.3 kB / 23 MB, free: 5.609 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.432/1.432, allocations: 230.2 MB / 256.2 MB, free: 8.535 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.001838/0.001838, allocations: 59.89 kB / 376.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2491, allocations: 53.32 MB / 429.8 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005792/0.2549, allocations: 4.428 MB / 434.2 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002649/0.2575, allocations: 1.656 MB / 435.9 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000261/0.2578, allocations: 15.94 kB / 435.9 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003547/0.2582, allocations: 122.8 kB / 436 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007842/0.2589, allocations: 371.1 kB / 436.4 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004382/0.2594, allocations: 239.7 kB / 436.6 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009824/0.2604, allocations: 0.9785 MB / 437.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002864/0.2607, allocations: 165.3 kB / 437.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004746/0.2611, allocations: 382.7 kB / 438.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000507/0.2616, allocations: 422.3 kB / 438.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.2618, allocations: 99.94 kB / 438.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003692/0.2621, allocations: 227.9 kB / 438.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001638/0.2623, allocations: 191.4 kB / 439 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003923/0.2627, allocations: 422 kB / 439.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.2639, allocations: 1.167 MB / 440.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2639, allocations: 4 kB / 440.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2639, allocations: 0 / 440.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.659e-06/0.2639, allocations: 3.938 kB / 440.6 MB, free: 12.67 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.002433/0.2664, allocations: 1.118 MB / 441.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.2664, allocations: 16.03 kB / 441.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002518/0.2667, allocations: 84.47 kB / 441.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007759/0.2674, allocations: 0.5226 MB / 442.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.2675, allocations: 75.58 kB / 442.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001967/0.2677, allocations: 68.47 kB / 442.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.2689, allocations: 0.6098 MB / 443.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.2689, allocations: 3.938 kB / 443.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.88e-05/0.2689, allocations: 24 kB / 443.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.2689, allocations: 15.98 kB / 443.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.2701, allocations: 0.5244 MB / 443.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003511/0.2736, allocations: 2.291 MB / 446 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.2746, allocations: 456.5 kB / 446.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005434/0.2752, allocations: 258 kB / 446.7 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.473e-05/0.2752, allocations: 7.984 kB / 446.7 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.2752, allocations: 38.56 kB / 446.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.633e-06/0.2752, allocations: 0 / 446.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.0135/0.2887, allocations: 3.56 MB / 450.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.977e-05/0.2888, allocations: 85.67 kB / 450.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008857/0.2897, allocations: 0.5449 MB / 450.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.485e-05/0.2898, allocations: 33.7 kB / 450.9 MB, free: 1.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.29, allocations: 320.9 kB / 451.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/0.2902, allocations: 214.1 kB / 451.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000225/0.2904, allocations: 118.2 kB / 451.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.2906, allocations: 366.8 kB / 451.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005991/0.2912, allocations: 249.2 kB / 452.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006728/0.2919, allocations: 340.4 kB / 452.5 MB, free: 356 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.2932, allocations: 0.6136 MB / 453.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2932, allocations: 0 / 453.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00163/0.2949, allocations: 0.7413 MB / 453.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.2949, allocations: 8 kB / 453.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.2949, allocations: 4.312 kB / 453.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002092/0.2951, allocations: 36.83 kB / 453.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008204/0.2959, allocations: 159.8 kB / 454.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.2972, allocations: 1.432 MB / 455.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005531/0.2978, allocations: 47.94 kB / 455.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/0.2978, allocations: 27.97 kB / 455.6 MB, free: 13.09 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.0003911/0.2982, allocations: 201.7 kB / 455.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.2984, allocations: 63.62 kB / 455.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001947/0.3003, allocations: 0.8258 MB / 456.7 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.3003, allocations: 11.94 kB / 456.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.3003, allocations: 3.938 kB / 456.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.3003, allocations: 3.984 kB / 456.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003982/0.3043, allocations: 1.849 MB / 458.5 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3043, allocations: 0 / 458.5 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005391/0.3049, allocations: 111.8 kB / 458.6 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002332/0.3072, allocations: 476.3 kB / 459.1 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.223e-05/0.3072, allocations: 12 kB / 459.1 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005331/0.3126, allocations: 3.154 MB / 462.3 MB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.3126, allocations: 3.984 kB / 462.3 MB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003085/0.3157, allocations: 1.359 MB / 463.6 MB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003231/0.316, allocations: 216.6 kB / 463.8 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.285e-05/0.3161, allocations: 8 kB / 463.9 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000586/0.3167, allocations: 39.97 kB / 463.9 MB, free: 4.516 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/0.3168, allocations: 60.42 kB / 463.9 MB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.53e-05/0.3169, allocations: 19.94 kB / 464 MB, free: 4.438 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005165/0.3174, allocations: 394.8 kB / 464.4 MB, free: 4.055 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3174, allocations: 0 / 464.4 MB, free: 4.055 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007429/0.3182, allocations: 192 kB / 464.5 MB, free: 3.867 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.0002893/0.3184, allocations: 143.1 kB / 464.7 MB, free: 3.719 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001499/0.3199, allocations: 0.7018 MB / 465.4 MB, free: 3.004 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3199, allocations: 4.062 kB / 465.4 MB, free: 3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009213/0.3209, allocations: 0.4977 MB / 465.9 MB, free: 2.492 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006451/0.3215, allocations: 90.02 kB / 466 MB, free: 2.406 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002822/0.3243, allocations: 1.496 MB / 467.5 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005731/0.3249, allocations: 0.9043 MB / 468.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002966/0.3252, allocations: 68.81 kB / 468.4 MB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.3254, allocations: 51.41 kB / 468.5 MB, free: 15.83 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3254, allocations: 0 / 468.5 MB, free: 15.83 MB / 382.1 MB Notification: Performance of Templates: time 0.01858/0.344, allocations: 10.72 MB / 479.2 MB, free: 5.195 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/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_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: 4.674588120542467]