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.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.001637/0.001637, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.002126/0.002126, allocations: 206.2 kB / 24.47 MB, free: 4.023 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.485/1.485, allocations: 230.4 MB / 258.1 MB, free: 8.141 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.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-beta.om_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-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [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.002049/0.002049, allocations: 67.83 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3123, allocations: 53.31 MB / 432 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.006107/0.3184, allocations: 4.421 MB / 436.5 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003086/0.3214, allocations: 1.671 MB / 438.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004031/0.3219, allocations: 15.94 kB / 438.2 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003892/0.3222, allocations: 118.9 kB / 438.3 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008542/0.3231, allocations: 371.6 kB / 438.6 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000533/0.3236, allocations: 235.6 kB / 438.9 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001199/0.3248, allocations: 0.9862 MB / 439.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003675/0.3252, allocations: 157.4 kB / 440 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005534/0.3257, allocations: 382.7 kB / 440.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000571/0.3263, allocations: 438.2 kB / 440.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.3265, allocations: 96 kB / 440.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003971/0.3269, allocations: 215.9 kB / 441.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001772/0.327, allocations: 191.4 kB / 441.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004215/0.3274, allocations: 426 kB / 441.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.3288, allocations: 1.175 MB / 442.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3288, allocations: 0 / 442.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3288, allocations: 0 / 442.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.3288, allocations: 0 / 442.9 MB, free: 12.5 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.002483/0.3313, allocations: 1.121 MB / 444 MB, free: 11.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3314, allocations: 8.031 kB / 444 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002533/0.3316, allocations: 88.45 kB / 444.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008524/0.3325, allocations: 0.5188 MB / 444.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.645e-05/0.3326, allocations: 71.58 kB / 444.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/0.3328, allocations: 76.42 kB / 444.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.3339, allocations: 0.5981 MB / 445.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.3339, allocations: 0 / 445.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.847e-05/0.3339, allocations: 20 kB / 445.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.334, allocations: 19.94 kB / 445.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.3351, allocations: 0.5282 MB / 445.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003499/0.3386, allocations: 2.303 MB / 448.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.3396, allocations: 457.2 kB / 448.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005427/0.3401, allocations: 246.1 kB / 448.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.3402, allocations: 4 kB / 448.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.896e-05/0.3402, allocations: 46.5 kB / 449 MB, free: 6.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.974e-06/0.3402, allocations: 3.938 kB / 449 MB, free: 6.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.01297/0.3532, allocations: 3.567 MB / 452.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/0.3532, allocations: 81.67 kB / 452.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008071/0.3541, allocations: 0.5332 MB / 453.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.572e-05/0.3541, allocations: 41.64 kB / 453.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/0.3544, allocations: 320.8 kB / 453.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/0.3546, allocations: 230.1 kB / 453.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/0.3548, allocations: 110.3 kB / 453.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.355, allocations: 362.8 kB / 454.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005685/0.3556, allocations: 253.2 kB / 454.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006473/0.3562, allocations: 344.4 kB / 454.8 MB, free: 176 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.3574, allocations: 0.602 MB / 455.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.3574, allocations: 8 kB / 455.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001598/0.359, allocations: 0.7455 MB / 456.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.3591, allocations: 4 kB / 456.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.3591, allocations: 4 kB / 456.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001666/0.3592, allocations: 32.78 kB / 456.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009385/0.3602, allocations: 167.8 kB / 456.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/0.3615, allocations: 1.429 MB / 457.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005596/0.3621, allocations: 39.91 kB / 457.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-05/0.3621, allocations: 27.98 kB / 457.8 MB, free: 12.93 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.0003178/0.3624, allocations: 193.7 kB / 458 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.3626, allocations: 67.58 kB / 458.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/0.3645, allocations: 0.8377 MB / 458.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.3645, allocations: 7.938 kB / 458.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3645, allocations: 8 kB / 458.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.3645, allocations: 0 / 458.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003818/0.3683, allocations: 1.842 MB / 460.8 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3683, allocations: 0 / 460.8 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005293/0.3688, allocations: 111.9 kB / 460.9 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002266/0.3711, allocations: 468.4 kB / 461.3 MB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.691e-05/0.3711, allocations: 19.98 kB / 461.4 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005281/0.3764, allocations: 3.154 MB / 464.5 MB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3764, allocations: 0 / 464.5 MB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003001/0.3794, allocations: 1.359 MB / 465.9 MB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003355/0.3798, allocations: 216.6 kB / 466.1 MB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.3799, allocations: 15.98 kB / 466.1 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000572/0.3804, allocations: 43.97 kB / 466.2 MB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.3806, allocations: 44.5 kB / 466.2 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.166e-05/0.3806, allocations: 19.98 kB / 466.2 MB, free: 4.281 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004948/0.3811, allocations: 394.9 kB / 466.6 MB, free: 3.898 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3811, allocations: 0 / 466.6 MB, free: 3.898 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007417/0.3818, allocations: 192 kB / 466.8 MB, free: 3.711 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.0003088/0.3822, allocations: 155 kB / 466.9 MB, free: 3.547 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001572/0.3837, allocations: 0.7013 MB / 467.6 MB, free: 2.832 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3837, allocations: 0 / 467.6 MB, free: 2.832 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009698/0.3847, allocations: 0.5021 MB / 468.1 MB, free: 2.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006377/0.3853, allocations: 89.97 kB / 468.2 MB, free: 2.234 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002785/0.3881, allocations: 1.493 MB / 469.7 MB, free: 0.707 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005619/0.3887, allocations: 0.9004 MB / 470.6 MB, free: 15.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002934/0.389, allocations: 72.8 kB / 470.7 MB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.3892, allocations: 51.41 kB / 470.7 MB, free: 15.66 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3892, allocations: 0 / 470.7 MB, free: 15.66 MB / 382.1 MB Notification: Performance of Templates: time 0.01957/0.4087, allocations: 10.73 MB / 481.5 MB, free: 5.031 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 5.111173088662326]