Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000896/0.000896, allocations: 170.3 kB / 24.91 MB, free: 8.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8784/0.8784, allocations: 177.2 MB / 205.3 MB, free: 5.098 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 273.4 MB, free: 1.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.856e-06/9.958e-06, allocations: 2.312 kB / 273.4 MB, free: 1.164 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.002955/0.002965, allocations: 3.417 MB / 276.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.004657, allocations: 1.663 MB / 278.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.004789, allocations: 7.938 kB / 278.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001934/0.006723, allocations: 2.678 MB / 281.2 MB, free: 9.367 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003224/0.007045, allocations: 230.4 kB / 281.4 MB, free: 9.141 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.007428, allocations: 327.2 kB / 281.8 MB, free: 8.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009462/0.008374, allocations: 1.622 MB / 283.4 MB, free: 7.191 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.008526, allocations: 108.9 kB / 283.5 MB, free: 7.078 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006643/0.00919, allocations: 498.5 kB / 284 MB, free: 6.621 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002491/0.009439, allocations: 303.2 kB / 284.3 MB, free: 6.324 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.622e-05/0.009495, allocations: 40 kB / 284.3 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.009608, allocations: 91.91 kB / 284.4 MB, free: 6.195 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003791/0.009987, allocations: 0.861 MB / 285.3 MB, free: 5.332 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002728/0.01026, allocations: 482 kB / 285.7 MB, free: 4.859 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009088/0.01117, allocations: 1.495 MB / 287.2 MB, free: 3.359 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.01117, allocations: 0 / 287.2 MB, free: 3.359 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.72e-07/0.01117, allocations: 0 / 287.2 MB, free: 3.359 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.01118, allocations: 0 / 287.2 MB, free: 3.359 MB / 266.7 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.001933/0.01312, allocations: 2.658 MB / 289.9 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.818e-05/0.01315, allocations: 15.98 kB / 289.9 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002154/0.01336, allocations: 188.7 kB / 290.1 MB, free: 468 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08702/0.1004, allocations: 1.133 MB / 291.2 MB, free: 23.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.899e-05/0.1005, allocations: 113.1 kB / 291.3 MB, free: 23.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.1006, allocations: 46.38 kB / 291.4 MB, free: 23.03 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003561/0.1009, allocations: 355.2 kB / 291.7 MB, free: 22.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.101, allocations: 2.906 kB / 291.7 MB, free: 22.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.101, allocations: 16.66 kB / 291.7 MB, free: 22.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.101, allocations: 11.78 kB / 291.7 MB, free: 22.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.1012, allocations: 137.3 kB / 291.9 MB, free: 22.87 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001652/0.1028, allocations: 1.423 MB / 293.3 MB, free: 22.31 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.1031, allocations: 208.1 kB / 293.5 MB, free: 22.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.094e-05/0.1031, allocations: 81.88 kB / 293.6 MB, free: 22.24 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.1032, allocations: 8.312 kB / 293.6 MB, free: 22.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.1032, allocations: 42.7 kB / 293.6 MB, free: 22.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.653e-06/0.1032, allocations: 0 / 293.6 MB, free: 22.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.001943/0.1051, allocations: 1.163 MB / 294.8 MB, free: 21.97 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.725e-05/0.1052, allocations: 82.61 kB / 294.9 MB, free: 21.88 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002225/0.1074, allocations: 2.963 MB / 297.8 MB, free: 21.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.1074, allocations: 35.94 kB / 297.9 MB, free: 21.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002975/0.1077, allocations: 0.5344 MB / 298.4 MB, free: 21.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.121e-05/0.1078, allocations: 177.8 kB / 298.6 MB, free: 21.31 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.587e-05/0.1078, allocations: 89.2 kB / 298.7 MB, free: 21.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.408e-05/0.1079, allocations: 333 kB / 299 MB, free: 20.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.34e-05/0.1079, allocations: 49.23 kB / 299.1 MB, free: 20.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.2e-05/0.108, allocations: 128.5 kB / 299.2 MB, free: 20.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.1082, allocations: 225.1 kB / 299.4 MB, free: 20.83 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1082, allocations: 1.438 kB / 299.4 MB, free: 20.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0003717/0.1086, allocations: 371.8 kB / 299.8 MB, free: 20.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1086, allocations: 6.719 kB / 299.8 MB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1086, allocations: 2.703 kB / 299.8 MB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1086, allocations: 8.344 kB / 299.8 MB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.1089, allocations: 116.4 kB / 299.9 MB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1089, allocations: 6.656 kB / 299.9 MB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.1091, allocations: 17.48 kB / 299.9 MB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.1091, allocations: 16.78 kB / 299.9 MB, free: 20.78 MB / 266.7 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.0001885/0.1093, allocations: 140.6 kB / 300.1 MB, free: 20.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.1094, allocations: 157.2 kB / 300.2 MB, free: 20.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004988/0.1099, allocations: 490.7 kB / 300.7 MB, free: 20.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1099, allocations: 8.875 kB / 300.7 MB, free: 20.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.1099, allocations: 4.938 kB / 300.7 MB, free: 20.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.1099, allocations: 3.828 kB / 300.7 MB, free: 20.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006951/0.1106, allocations: 0.7215 MB / 301.4 MB, free: 20.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1106, allocations: 1.25 kB / 301.4 MB, free: 20.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.1109, allocations: 91.5 kB / 301.5 MB, free: 20.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001483/0.111, allocations: 64.62 kB / 301.6 MB, free: 20.33 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.111, allocations: 17.69 kB / 301.6 MB, free: 20.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000378/0.1114, allocations: 0.8356 MB / 302.4 MB, free: 19.65 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1114, allocations: 1.594 kB / 302.4 MB, free: 19.65 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005152/0.1119, allocations: 0.6617 MB / 303.1 MB, free: 19.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002833/0.1122, allocations: 327.5 kB / 303.4 MB, free: 19.15 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.1123, allocations: 9.844 kB / 303.4 MB, free: 19.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.1125, allocations: 20.12 kB / 303.5 MB, free: 19.14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.1126, allocations: 33.11 kB / 303.5 MB, free: 19.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.1126, allocations: 9.656 kB / 303.5 MB, free: 19.13 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0009314/0.1135, allocations: 1.447 MB / 304.9 MB, free: 18.85 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1135, allocations: 0 / 304.9 MB, free: 18.85 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003292/0.1138, allocations: 208.4 kB / 305.2 MB, free: 18.83 MB / 266.7 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.0009549/0.1148, allocations: 0.5267 MB / 305.7 MB, free: 18.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001976/0.115, allocations: 212.5 kB / 305.9 MB, free: 18.65 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/0.115, allocations: 30.5 kB / 305.9 MB, free: 18.65 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.1151, allocations: 143.5 kB / 306.1 MB, free: 18.62 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005449/0.1157, allocations: 186.6 kB / 306.2 MB, free: 18.51 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.1185, allocations: 3.877 MB / 310.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.1188, allocations: 0.5492 MB / 310.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002111/0.119, allocations: 183.8 kB / 310.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/0.1193, allocations: 227.3 kB / 311.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of SimCode: time 6.32e-07/0.1193, allocations: 0 / 311.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of Templates: time 0.01887/0.1382, allocations: 16.11 MB / 327.2 MB, free: 14.51 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7448174213059247]