Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001046/0.001046, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001057/0.002103, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001071/0.001071, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001411/0.002482, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9508/0.9508, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08319/1.034, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.663e-05/1.79e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.003838/0.003856, allocations: 3.484 MB / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.005905, allocations: 1.686 MB / 250.2 MB, free: 8.461 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.006066, allocations: 7.938 kB / 250.2 MB, free: 8.453 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002092/0.008158, allocations: 2.736 MB / 252.9 MB, free: 5.711 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003954/0.008554, allocations: 234.3 kB / 253.1 MB, free: 5.48 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005045/0.009058, allocations: 319.2 kB / 253.5 MB, free: 5.168 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001181/0.01024, allocations: 1.614 MB / 255.1 MB, free: 3.551 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.01039, allocations: 97 kB / 255.2 MB, free: 3.453 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008832/0.01127, allocations: 0.5968 MB / 255.8 MB, free: 2.883 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002631/0.01154, allocations: 299.2 kB / 256.1 MB, free: 2.59 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.564e-05/0.01159, allocations: 44 kB / 256.1 MB, free: 2.547 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.01174, allocations: 87.92 kB / 256.2 MB, free: 2.461 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003702/0.01211, allocations: 0.8162 MB / 257 MB, free: 1.645 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002653/0.01238, allocations: 370.3 kB / 257.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000953/0.01333, allocations: 1.463 MB / 258.8 MB, free: 15.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.395e-05/0.01335, allocations: 0 / 258.8 MB, free: 15.81 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01335, allocations: 0 / 258.8 MB, free: 15.81 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.399e-05/0.01338, allocations: 0 / 258.8 MB, free: 15.81 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.002207/0.01559, allocations: 3.009 MB / 261.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.796e-05/0.01562, allocations: 8.625 kB / 261.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002785/0.01589, allocations: 269.8 kB / 262.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008637/0.01676, allocations: 1.137 MB / 263.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.223e-05/0.01683, allocations: 110.7 kB / 263.4 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.299e-05/0.01692, allocations: 52.69 kB / 263.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/0.01723, allocations: 359.5 kB / 263.8 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.01724, allocations: 3.938 kB / 263.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.01726, allocations: 12 kB / 263.8 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.01727, allocations: 16 kB / 263.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.01743, allocations: 138.9 kB / 263.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.01888, allocations: 1.423 MB / 265.3 MB, free: 9.086 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.01909, allocations: 197 kB / 265.5 MB, free: 8.875 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.386e-05/0.01916, allocations: 82.56 kB / 265.6 MB, free: 8.789 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.01919, allocations: 11.94 kB / 265.6 MB, free: 8.777 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.01921, allocations: 34.56 kB / 265.7 MB, free: 8.734 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.353e-06/0.01921, allocations: 0 / 265.7 MB, free: 8.734 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.001807/0.02102, allocations: 1.176 MB / 266.8 MB, free: 7.523 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.02105, allocations: 89.64 kB / 266.9 MB, free: 7.414 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001938/0.02299, allocations: 2.964 MB / 269.9 MB, free: 4.445 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.02302, allocations: 29.7 kB / 269.9 MB, free: 4.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/0.0233, allocations: 0.5336 MB / 270.5 MB, free: 3.871 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.57e-05/0.02337, allocations: 174.4 kB / 270.6 MB, free: 3.699 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.414e-05/0.02346, allocations: 102.1 kB / 270.7 MB, free: 3.594 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.325e-05/0.02353, allocations: 321.9 kB / 271 MB, free: 3.273 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.998e-05/0.02359, allocations: 52.91 kB / 271.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.314e-05/0.02368, allocations: 133.1 kB / 271.2 MB, free: 3.062 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.02386, allocations: 224.3 kB / 271.4 MB, free: 2.816 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.02386, allocations: 0 / 271.4 MB, free: 2.816 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0003168/0.02417, allocations: 362.4 kB / 271.8 MB, free: 2.461 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.02419, allocations: 12.03 kB / 271.8 MB, free: 2.449 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.0242, allocations: 0 / 271.8 MB, free: 2.449 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.02421, allocations: 4 kB / 271.8 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/0.02453, allocations: 159.7 kB / 272 MB, free: 2.289 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.02454, allocations: 4 kB / 272 MB, free: 2.285 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.0247, allocations: 11.98 kB / 272 MB, free: 2.273 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.02471, allocations: 12 kB / 272 MB, free: 2.262 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.0001901/0.0249, allocations: 144.5 kB / 272.1 MB, free: 2.109 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.02504, allocations: 155.8 kB / 272.3 MB, free: 1.957 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004765/0.02551, allocations: 484 kB / 272.8 MB, free: 1.465 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.02552, allocations: 11.92 kB / 272.8 MB, free: 1.453 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.02552, allocations: 4 kB / 272.8 MB, free: 1.449 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.02553, allocations: 0 / 272.8 MB, free: 1.449 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006025/0.02613, allocations: 0.7199 MB / 273.5 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.02613, allocations: 4 kB / 273.5 MB, free: 0.707 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002724/0.0264, allocations: 123.8 kB / 273.6 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002854/0.02669, allocations: 337.9 kB / 273.9 MB, free: 260 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000152/0.02684, allocations: 72.7 kB / 274 MB, free: 184 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.02686, allocations: 8 kB / 274 MB, free: 176 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09565/0.1225, allocations: 0.8321 MB / 274.9 MB, free: 16.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.1225, allocations: 3.156 kB / 274.9 MB, free: 16.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009196/0.1234, allocations: 0.6555 MB / 275.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.1236, allocations: 8.688 kB / 275.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003358/0.1239, allocations: 19.23 kB / 275.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.78e-05/0.124, allocations: 32.7 kB / 275.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.124, allocations: 14.11 kB / 275.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001718/0.1257, allocations: 1.446 MB / 277 MB, free: 15.89 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1257, allocations: 1.281 kB / 277 MB, free: 15.89 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005756/0.1263, allocations: 209.2 kB / 277.2 MB, free: 15.89 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.001473/0.1278, allocations: 0.5587 MB / 277.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000378/0.1281, allocations: 214.9 kB / 278 MB, free: 15.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.775e-05/0.1282, allocations: 36.8 kB / 278 MB, free: 15.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002387/0.1284, allocations: 132.3 kB / 278.2 MB, free: 15.74 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009008/0.1293, allocations: 287.9 kB / 278.5 MB, free: 15.73 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007165/0.1365, allocations: 3.895 MB / 282.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006357/0.1371, allocations: 0.5596 MB / 282.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003617/0.1375, allocations: 168.1 kB / 283.1 MB, free: 14 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004009/0.1379, allocations: 235.7 kB / 283.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1379, allocations: 0 / 283.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of Templates: time 0.02471/0.1626, allocations: 16.61 MB / 299.9 MB, free: 4.676 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.883507812395692]