Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 73.56 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 153.2 kB / 24.49 MB, free: 3.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 173.4 MB / 201.1 MB, free: 12.67 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 47.2 kB / 319.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08243/0.08397, allocations: 52.17 MB / 371.6 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004743/0.08872, allocations: 3.16 MB / 374.7 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002299/0.09102, allocations: 1.411 MB / 376.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.09118, allocations: 7.938 kB / 376.2 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003165/0.09435, allocations: 2.659 MB / 378.8 MB, free: 76 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004107/0.09476, allocations: 174.8 kB / 379 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006825/0.09544, allocations: 311.3 kB / 379.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001844/0.09728, allocations: 1.805 MB / 381.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.09747, allocations: 83.7 kB / 381.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003729/0.09784, allocations: 317 kB / 381.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004422/0.09828, allocations: 326.8 kB / 381.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.659e-05/0.09838, allocations: 44 kB / 381.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.09857, allocations: 87.92 kB / 381.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006674/0.09924, allocations: 0.8491 MB / 382.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006247/0.09986, allocations: 0.6627 MB / 383.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002465/0.1023, allocations: 2.657 MB / 386.1 MB, free: 8.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1023, allocations: 0 / 386.1 MB, free: 8.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1023, allocations: 0 / 386.1 MB, free: 8.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.845e-05/0.1023, allocations: 3.938 kB / 386.1 MB, free: 8.754 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.004122/0.1065, allocations: 2.828 MB / 388.9 MB, free: 5.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1065, allocations: 12.91 kB / 388.9 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003581/0.1069, allocations: 295 kB / 389.2 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002602/0.1095, allocations: 1.79 MB / 391 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.1096, allocations: 114.7 kB / 391.1 MB, free: 3.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/0.1098, allocations: 51.92 kB / 391.2 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007621/0.1105, allocations: 442.4 kB / 391.6 MB, free: 3.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.1105, allocations: 3.953 kB / 391.6 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.1106, allocations: 16 kB / 391.6 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.1106, allocations: 8 kB / 391.6 MB, free: 3.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007402/0.1113, allocations: 331.8 kB / 392 MB, free: 2.758 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003969/0.1153, allocations: 2.561 MB / 394.5 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007074/0.116, allocations: 303.6 kB / 394.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003374/0.1163, allocations: 150.2 kB / 395 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/0.1164, allocations: 8 kB / 395 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.1164, allocations: 38.42 kB / 395 MB, free: 15.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 1.994e-06/0.1164, allocations: 4 kB / 395 MB, free: 15.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.005085/0.1215, allocations: 2.377 MB / 397.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.1216, allocations: 89.55 kB / 397.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006624/0.1282, allocations: 5.436 MB / 402.9 MB, free: 7.625 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.694e-05/0.1283, allocations: 37.7 kB / 403 MB, free: 7.582 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001173/0.1294, allocations: 1.16 MB / 404.1 MB, free: 6.414 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.1296, allocations: 174.5 kB / 404.3 MB, free: 6.242 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.1297, allocations: 94.11 kB / 404.4 MB, free: 6.145 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1299, allocations: 322 kB / 404.7 MB, free: 5.824 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003604/0.1302, allocations: 140.9 kB / 404.8 MB, free: 5.688 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003988/0.1306, allocations: 217.1 kB / 405 MB, free: 5.445 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007722/0.1314, allocations: 385.5 kB / 405.4 MB, free: 5.043 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.1314, allocations: 0 / 405.4 MB, free: 5.043 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00132/0.1327, allocations: 0.7064 MB / 406.1 MB, free: 4.328 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.1327, allocations: 4 kB / 406.1 MB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.1328, allocations: 4 kB / 406.1 MB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.1328, allocations: 4 kB / 406.1 MB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00054/0.1333, allocations: 120.1 kB / 406.3 MB, free: 4.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.1333, allocations: 11.94 kB / 406.3 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004258/0.1337, allocations: 23.92 kB / 406.3 MB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/0.1338, allocations: 16 kB / 406.3 MB, free: 4.148 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.001135/0.1349, allocations: 0.9153 MB / 407.2 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003542/0.1353, allocations: 286 kB / 407.5 MB, free: 2.941 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/0.1369, allocations: 0.7996 MB / 408.3 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.1369, allocations: 4 kB / 408.3 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1369, allocations: 0 / 408.3 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.1369, allocations: 3.984 kB / 408.3 MB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/0.1386, allocations: 1.168 MB / 409.5 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.1386, allocations: 3.984 kB / 409.5 MB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004759/0.1391, allocations: 95.89 kB / 409.6 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003769/0.1394, allocations: 104.7 kB / 409.7 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.858e-05/0.1395, allocations: 11.94 kB / 409.7 MB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006113/0.1401, allocations: 0.6304 MB / 410.3 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1401, allocations: 0 / 410.3 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/0.1419, allocations: 1.096 MB / 411.4 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009991/0.1429, allocations: 426.1 kB / 411.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/0.1431, allocations: 8 kB / 411.8 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005143/0.1436, allocations: 19.98 kB / 411.9 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.965e-05/0.1437, allocations: 28.44 kB / 411.9 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/0.1438, allocations: 19.98 kB / 411.9 MB, free: 14.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.005248/0.149, allocations: 3.966 MB / 415.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.149, allocations: 0 / 415.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007388/0.1497, allocations: 215.9 kB / 416.1 MB, free: 10.27 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.001695/0.1514, allocations: 450 kB / 416.5 MB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00087/0.1523, allocations: 362.5 kB / 416.9 MB, free: 9.656 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1523, allocations: 4.125 kB / 416.9 MB, free: 9.652 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004974/0.1528, allocations: 206.8 kB / 417.1 MB, free: 9.453 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.1539, allocations: 185.1 kB / 417.3 MB, free: 9.273 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007763/0.1616, allocations: 5.464 MB / 422.7 MB, free: 3.766 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001754/0.1634, allocations: 1.241 MB / 424 MB, free: 2.488 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005353/0.1639, allocations: 271.5 kB / 424.2 MB, free: 2.219 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/0.1642, allocations: 92.48 kB / 424.3 MB, free: 2.129 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1642, allocations: 4 kB / 424.3 MB, free: 2.125 MB / 382.1 MB Notification: Performance of Templates: time 0.03174/0.1959, allocations: 15.16 MB / 439.5 MB, free: 3.023 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.108474367996678]