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.001718/0.001718, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.002122/0.002122, allocations: 209.9 kB / 24.54 MB, free: 4.055 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.484/1.484, allocations: 230.6 MB / 258.2 MB, free: 8.07 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.002065/0.002065, allocations: 64.75 kB / 379 MB, free: 2.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2907, allocations: 53.36 MB / 432.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005299/0.296, allocations: 3.494 MB / 435.9 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002977/0.299, allocations: 1.675 MB / 437.6 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/0.2992, allocations: 7.938 kB / 437.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003153/0.3024, allocations: 2.667 MB / 440.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005076/0.3029, allocations: 222.5 kB / 440.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007157/0.3036, allocations: 325.2 kB / 440.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001893/0.3055, allocations: 1.829 MB / 442.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.3057, allocations: 96.38 kB / 442.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000416/0.3061, allocations: 321 kB / 443 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004579/0.3066, allocations: 370.6 kB / 443.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.462e-05/0.3066, allocations: 44 kB / 443.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000199/0.3068, allocations: 91.97 kB / 443.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006623/0.3075, allocations: 0.8492 MB / 444.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007535/0.3083, allocations: 0.9423 MB / 445.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002448/0.3107, allocations: 2.651 MB / 448 MB, free: 7.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3107, allocations: 0 / 448 MB, free: 7.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3107, allocations: 0 / 448 MB, free: 7.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.45e-05/0.3107, allocations: 0 / 448 MB, free: 7.371 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.003989/0.3147, allocations: 2.847 MB / 450.8 MB, free: 4.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3148, allocations: 12.03 kB / 450.8 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004562/0.3152, allocations: 306.9 kB / 451.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002594/0.3178, allocations: 1.802 MB / 452.9 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.3179, allocations: 110.7 kB / 453 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/0.3181, allocations: 51.92 kB / 453.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007451/0.3189, allocations: 394.9 kB / 453.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.3189, allocations: 0 / 453.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.939e-05/0.3189, allocations: 16 kB / 453.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.3189, allocations: 8 kB / 453.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007378/0.3197, allocations: 331.7 kB / 453.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004104/0.3238, allocations: 2.857 MB / 456.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006498/0.3244, allocations: 314 kB / 457 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003382/0.3247, allocations: 149.7 kB / 457.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.076e-05/0.3248, allocations: 11.98 kB / 457.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.3248, allocations: 38.48 kB / 457.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 1.593e-06/0.3248, allocations: 0 / 457.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.004919/0.3297, allocations: 2.398 MB / 459.6 MB, free: 11.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.3298, allocations: 89.52 kB / 459.7 MB, free: 11.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006672/0.3365, allocations: 5.452 MB / 465.1 MB, free: 5.914 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.084e-05/0.3365, allocations: 37.7 kB / 465.1 MB, free: 5.871 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001189/0.3377, allocations: 1.192 MB / 466.3 MB, free: 4.676 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.3379, allocations: 174.5 kB / 466.5 MB, free: 4.504 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.338, allocations: 86.14 kB / 466.6 MB, free: 4.414 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3381, allocations: 322 kB / 466.9 MB, free: 4.094 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003486/0.3385, allocations: 144.9 kB / 467 MB, free: 3.953 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004036/0.3389, allocations: 217.1 kB / 467.3 MB, free: 3.711 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007612/0.3397, allocations: 384.3 kB / 467.6 MB, free: 3.309 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.3397, allocations: 7.875 kB / 467.6 MB, free: 3.301 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001234/0.3409, allocations: 0.6972 MB / 468.3 MB, free: 2.598 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3409, allocations: 4 kB / 468.3 MB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3409, allocations: 7.938 kB / 468.3 MB, free: 2.586 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.3409, allocations: 8.25 kB / 468.4 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005391/0.3415, allocations: 119.8 kB / 468.5 MB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.3415, allocations: 7.984 kB / 468.5 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004002/0.3419, allocations: 16 kB / 468.5 MB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.3419, allocations: 16 kB / 468.5 MB, free: 2.422 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.001065/0.343, allocations: 0.9269 MB / 469.4 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003325/0.3433, allocations: 286.1 kB / 469.7 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/0.3448, allocations: 0.7982 MB / 470.5 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.3449, allocations: 8 kB / 470.5 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3449, allocations: 0 / 470.5 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.3449, allocations: 0 / 470.5 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.3466, allocations: 1.456 MB / 472 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.3466, allocations: 3.938 kB / 472 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004649/0.3471, allocations: 95.88 kB / 472.1 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003502/0.3474, allocations: 84.8 kB / 472.2 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/0.3474, allocations: 15.98 kB / 472.2 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006056/0.3481, allocations: 0.6383 MB / 472.8 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.3481, allocations: 3.984 kB / 472.8 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/0.3499, allocations: 1.098 MB / 473.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008257/0.3508, allocations: 430 kB / 474.3 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/0.3509, allocations: 8 kB / 474.3 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004734/0.3514, allocations: 19.98 kB / 474.4 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.284e-05/0.3515, allocations: 32.38 kB / 474.4 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/0.3515, allocations: 15.98 kB / 474.4 MB, free: 12.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00508/0.3566, allocations: 3.99 MB / 478.4 MB, free: 8.418 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3566, allocations: 0 / 478.4 MB, free: 8.418 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006974/0.3573, allocations: 208 kB / 478.6 MB, free: 8.215 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.001528/0.3588, allocations: 416.7 kB / 479 MB, free: 7.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008584/0.3597, allocations: 364.9 kB / 479.4 MB, free: 7.602 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3597, allocations: 0 / 479.4 MB, free: 7.602 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005001/0.3602, allocations: 198.4 kB / 479.6 MB, free: 7.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.3613, allocations: 188.6 kB / 479.7 MB, free: 7.223 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007837/0.3691, allocations: 5.507 MB / 485.3 MB, free: 1.672 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001884/0.371, allocations: 1.818 MB / 487.1 MB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006313/0.3716, allocations: 283.8 kB / 487.3 MB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002712/0.3719, allocations: 91.42 kB / 487.4 MB, free: 15.45 MB / 398.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3719, allocations: 3.938 kB / 487.4 MB, free: 15.45 MB / 398.1 MB Notification: Performance of Templates: time 0.03369/0.4056, allocations: 15.95 MB / 0.4916 GB, free: 15.55 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 -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/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-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.10986446402967]