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.001502/0.001502, allocations: 79.73 kB / 21.25 MB, free: 392 kB / 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.001937/0.001937, allocations: 163.1 kB / 24.5 MB, free: 3.449 MB / 14.72 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 1.433/1.433, allocations: 177.1 MB / 204.7 MB, free: 9.012 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001961/0.001961, allocations: 60.59 kB / 325.5 MB, free: 212 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08745/0.08941, allocations: 53.39 MB / 378.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004994/0.0944, allocations: 3.216 MB / 382.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00284/0.09724, allocations: 1.593 MB / 383.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001919/0.09743, allocations: 11.94 kB / 383.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003152/0.1006, allocations: 2.659 MB / 386.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005405/0.1011, allocations: 222.6 kB / 386.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007753/0.1019, allocations: 334.2 kB / 386.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001962/0.1039, allocations: 1.821 MB / 388.8 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.1041, allocations: 100.3 kB / 388.9 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004476/0.1045, allocations: 325 kB / 389.2 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004442/0.105, allocations: 338.7 kB / 389.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.94e-05/0.1051, allocations: 44 kB / 389.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002034/0.1053, allocations: 87.98 kB / 389.6 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007004/0.106, allocations: 0.8492 MB / 390.5 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006404/0.1066, allocations: 0.6666 MB / 391.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00259/0.1092, allocations: 2.676 MB / 393.8 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1092, allocations: 0 / 393.8 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1092, allocations: 0 / 393.8 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.224e-05/0.1092, allocations: 7.938 kB / 393.8 MB, free: 0.5195 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.004217/0.1135, allocations: 2.84 MB / 396.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1135, allocations: 8.031 kB / 396.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005136/0.114, allocations: 306.9 kB / 397 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002674/0.1167, allocations: 1.802 MB / 398.8 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.1168, allocations: 110.7 kB / 398.9 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/0.117, allocations: 52.48 kB / 398.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007993/0.1178, allocations: 450.4 kB / 399.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.1178, allocations: 0 / 399.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.827e-05/0.1178, allocations: 12 kB / 399.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.1178, allocations: 8 kB / 399.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007413/0.1186, allocations: 331.7 kB / 399.7 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003983/0.1226, allocations: 2.557 MB / 402.3 MB, free: 7.855 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006589/0.1232, allocations: 306.4 kB / 402.6 MB, free: 7.543 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003366/0.1236, allocations: 157.6 kB / 402.7 MB, free: 7.383 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.915e-05/0.1236, allocations: 15.92 kB / 402.7 MB, free: 7.367 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.1236, allocations: 34.56 kB / 402.8 MB, free: 7.324 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 1.914e-06/0.1236, allocations: 0 / 402.8 MB, free: 7.324 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.005025/0.1287, allocations: 2.401 MB / 405.2 MB, free: 4.883 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.1287, allocations: 89.55 kB / 405.3 MB, free: 4.777 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006439/0.1351, allocations: 5.461 MB / 410.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.624e-05/0.1352, allocations: 29.7 kB / 410.8 MB, free: 15.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001181/0.1364, allocations: 1.176 MB / 411.9 MB, free: 14.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.1365, allocations: 182.5 kB / 412.1 MB, free: 13.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.1367, allocations: 82.19 kB / 412.2 MB, free: 13.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1368, allocations: 322 kB / 412.5 MB, free: 13.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003413/0.1371, allocations: 140.9 kB / 412.6 MB, free: 13.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004148/0.1376, allocations: 225.1 kB / 412.9 MB, free: 13.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000743/0.1383, allocations: 385.5 kB / 413.2 MB, free: 12.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.1383, allocations: 0 / 413.2 MB, free: 12.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001193/0.1395, allocations: 0.7026 MB / 413.9 MB, free: 12.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1395, allocations: 7.938 kB / 414 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1395, allocations: 4 kB / 414 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.1395, allocations: 4 kB / 414 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005234/0.1401, allocations: 119.8 kB / 414.1 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.1401, allocations: 7.984 kB / 414.1 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004003/0.1405, allocations: 20.17 kB / 414.1 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.1405, allocations: 20 kB / 414.1 MB, free: 11.83 MB / 382.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.001057/0.1416, allocations: 0.923 MB / 415 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003365/0.1419, allocations: 290 kB / 415.3 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.1433, allocations: 0.7841 MB / 416.1 MB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.1434, allocations: 4 kB / 416.1 MB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1434, allocations: 4 kB / 416.1 MB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1434, allocations: 7.938 kB / 416.1 MB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.1448, allocations: 1.188 MB / 417.3 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.1448, allocations: 4 kB / 417.3 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004842/0.1453, allocations: 95.88 kB / 417.4 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003371/0.1457, allocations: 88.78 kB / 417.5 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/0.1457, allocations: 15.98 kB / 417.5 MB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005902/0.1463, allocations: 0.6382 MB / 418.2 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1463, allocations: 0 / 418.2 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.148, allocations: 1.085 MB / 419.2 MB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009125/0.1489, allocations: 434 kB / 419.7 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/0.1491, allocations: 20.12 kB / 419.7 MB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004804/0.1496, allocations: 19.92 kB / 419.7 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.953e-05/0.1497, allocations: 32.44 kB / 419.7 MB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.1497, allocations: 15.98 kB / 419.8 MB, free: 6.094 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.004713/0.1544, allocations: 3.982 MB / 423.7 MB, free: 2.121 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1544, allocations: 0 / 423.7 MB, free: 2.121 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006506/0.1551, allocations: 208 kB / 423.9 MB, free: 1.918 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.001634/0.1567, allocations: 443 kB / 424.4 MB, free: 1.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008242/0.1575, allocations: 358.2 kB / 424.7 MB, free: 1.273 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1575, allocations: 0 / 424.7 MB, free: 1.273 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004685/0.158, allocations: 203.3 kB / 424.9 MB, free: 1.078 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.159, allocations: 186.6 kB / 425.1 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007317/0.1663, allocations: 5.491 MB / 430.6 MB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001522/0.1678, allocations: 1.25 MB / 431.8 MB, free: 10.08 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004878/0.1683, allocations: 271.8 kB / 432.1 MB, free: 9.809 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/0.1686, allocations: 88.48 kB / 432.2 MB, free: 9.719 MB / 398.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1686, allocations: 4 kB / 432.2 MB, free: 9.715 MB / 398.1 MB Notification: Performance of Templates: time 0.03069/0.1993, allocations: 15.26 MB / 447.5 MB, free: 10.53 MB / 414.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.21662074001506]