Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.001927/0.001927, allocations: 99.53 kB / 20.96 MB, free: 3.457 MB / 18.57 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.001918/0.001918, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 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.53/1.53, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 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.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.455e-05/2.6e-05, allocations: 2.312 kB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.00668/0.006706, allocations: 4.317 MB / 276.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003195/0.009901, allocations: 1.609 MB / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002825/0.01018, allocations: 11.94 kB / 278.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003694/0.01055, allocations: 118.9 kB / 278.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008747/0.01143, allocations: 385.2 kB / 278.6 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004612/0.01189, allocations: 239.6 kB / 278.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001135/0.01302, allocations: 1.009 MB / 279.9 MB, free: 10.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003098/0.01333, allocations: 154.1 kB / 280 MB, free: 9.945 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007975/0.01413, allocations: 0.5614 MB / 280.6 MB, free: 9.383 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005402/0.01467, allocations: 343 kB / 280.9 MB, free: 9.047 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.01482, allocations: 96 kB / 281 MB, free: 8.953 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004125/0.01523, allocations: 215.8 kB / 281.2 MB, free: 8.742 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002026/0.01544, allocations: 199.3 kB / 281.4 MB, free: 8.547 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000368/0.0158, allocations: 295.3 kB / 281.7 MB, free: 8.258 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.0173, allocations: 1.219 MB / 282.9 MB, free: 7.035 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.0173, allocations: 4 kB / 282.9 MB, free: 7.031 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01731, allocations: 0 / 282.9 MB, free: 7.031 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.01731, allocations: 4 kB / 282.9 MB, free: 7.027 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002749/0.02006, allocations: 1.193 MB / 284.1 MB, free: 5.797 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.0201, allocations: 11.98 kB / 284.1 MB, free: 5.785 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003442/0.02045, allocations: 136.4 kB / 284.3 MB, free: 5.652 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008424/0.02129, allocations: 467.5 kB / 284.7 MB, free: 5.168 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002327/0.02152, allocations: 123 kB / 284.8 MB, free: 5.027 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002268/0.02175, allocations: 80.67 kB / 284.9 MB, free: 4.949 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.02305, allocations: 0.7296 MB / 285.7 MB, free: 4.172 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/0.02308, allocations: 3.938 kB / 285.7 MB, free: 4.168 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.546e-05/0.02314, allocations: 24 kB / 285.7 MB, free: 4.145 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.02316, allocations: 12 kB / 285.7 MB, free: 4.133 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.02433, allocations: 0.5047 MB / 286.2 MB, free: 3.629 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004192/0.02852, allocations: 2.461 MB / 288.7 MB, free: 1.074 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.02955, allocations: 470.4 kB / 289.1 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005618/0.03012, allocations: 239.8 kB / 289.4 MB, free: 352 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.2e-05/0.03016, allocations: 16.72 kB / 289.4 MB, free: 336 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.265e-05/0.03021, allocations: 45.33 kB / 289.4 MB, free: 280 kB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 2.265e-06/0.03021, allocations: 0 / 289.4 MB, free: 280 kB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.135/0.1652, allocations: 3.133 MB / 292.5 MB, free: 27.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.1652, allocations: 85.22 kB / 292.6 MB, free: 27.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007541/0.166, allocations: 0.6204 MB / 293.2 MB, free: 27.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.72e-05/0.166, allocations: 37.75 kB / 293.3 MB, free: 27.26 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.1663, allocations: 395.2 kB / 293.7 MB, free: 26.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.1664, allocations: 242 kB / 293.9 MB, free: 26.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/0.1667, allocations: 137.1 kB / 294 MB, free: 26.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.1668, allocations: 0.5728 MB / 294.6 MB, free: 26.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004757/0.1673, allocations: 232.3 kB / 294.8 MB, free: 26.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005756/0.1679, allocations: 391.9 kB / 295.2 MB, free: 25.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.169, allocations: 0.648 MB / 295.9 MB, free: 25.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.169, allocations: 4 kB / 295.9 MB, free: 25.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001481/0.1705, allocations: 0.7547 MB / 296.6 MB, free: 25.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.1705, allocations: 10.72 kB / 296.6 MB, free: 25.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.1705, allocations: 6.281 kB / 296.6 MB, free: 25.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003144/0.1708, allocations: 49.02 kB / 296.7 MB, free: 25.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007678/0.1716, allocations: 161.8 kB / 296.9 MB, free: 25.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009221/0.1725, allocations: 1.824 MB / 298.7 MB, free: 23.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005439/0.1731, allocations: 38.5 kB / 298.7 MB, free: 23.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-05/0.1731, allocations: 22.97 kB / 298.7 MB, free: 23.33 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002707/0.1734, allocations: 252.3 kB / 299 MB, free: 23.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.1736, allocations: 79 kB / 299.1 MB, free: 23.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001737/0.1753, allocations: 0.8215 MB / 299.9 MB, free: 22.71 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.1753, allocations: 8.625 kB / 299.9 MB, free: 22.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1753, allocations: 8.688 kB / 299.9 MB, free: 22.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.1753, allocations: 2.766 kB / 299.9 MB, free: 22.7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003385/0.1787, allocations: 1.751 MB / 301.7 MB, free: 21.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1787, allocations: 1.375 kB / 301.7 MB, free: 21.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004656/0.1792, allocations: 102.3 kB / 301.8 MB, free: 21.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001994/0.1812, allocations: 413.5 kB / 302.2 MB, free: 21.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-05/0.1812, allocations: 15.73 kB / 302.2 MB, free: 21.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004367/0.1856, allocations: 3.604 MB / 305.8 MB, free: 18.95 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1856, allocations: 1.062 kB / 305.8 MB, free: 18.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002464/0.1881, allocations: 1.455 MB / 307.2 MB, free: 18.19 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002835/0.1883, allocations: 133.9 kB / 307.4 MB, free: 18.1 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.477e-05/0.1884, allocations: 10.31 kB / 307.4 MB, free: 18.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005557/0.189, allocations: 49.69 kB / 307.4 MB, free: 18.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.1891, allocations: 47.2 kB / 307.5 MB, free: 18.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.347e-05/0.1892, allocations: 22.56 kB / 307.5 MB, free: 18.06 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003843/0.1895, allocations: 428.5 kB / 307.9 MB, free: 17.85 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1895, allocations: 0 / 307.9 MB, free: 17.85 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006952/0.1902, allocations: 185.9 kB / 308.1 MB, free: 17.72 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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 {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002588/0.1905, allocations: 153.1 kB / 308.2 MB, free: 17.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001256/0.1918, allocations: 0.7911 MB / 309 MB, free: 16.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1918, allocations: 8.062 kB / 309 MB, free: 16.81 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007271/0.1925, allocations: 0.5895 MB / 309.6 MB, free: 16.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006818/0.1932, allocations: 89 kB / 309.7 MB, free: 16.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/0.1956, allocations: 1.39 MB / 311.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.1958, allocations: 311.1 kB / 311.4 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002946/0.1961, allocations: 66.39 kB / 311.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.1963, allocations: 56.47 kB / 311.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of SimCode: time 2.034e-06/0.1963, allocations: 0 / 311.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of Templates: time 0.0141/0.2104, allocations: 9.702 MB / 321.2 MB, free: 4.816 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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: 4.835975571069866]