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.002012/0.002012, allocations: 88.28 kB / 20.96 MB, free: 3.449 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.002385/0.002385, allocations: 156.9 kB / 24.26 MB, free: 148 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.489/1.489, allocations: 177 MB / 204.4 MB, free: 5.613 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 2.003e-06/2.003e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.285e-05/3.486e-05, allocations: 5.266 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.006923/0.006958, allocations: 3.983 MB / 276.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003616/0.01057, allocations: 1.555 MB / 277.7 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005681/0.01114, allocations: 15.94 kB / 277.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000546/0.01169, allocations: 122.8 kB / 277.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001306/0.01299, allocations: 385.3 kB / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005953/0.01359, allocations: 235.6 kB / 278.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001264/0.01485, allocations: 1.009 MB / 279.5 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003223/0.01518, allocations: 154.1 kB / 279.6 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000803/0.01598, allocations: 0.5614 MB / 280.2 MB, free: 9.746 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005161/0.01649, allocations: 331.1 kB / 280.5 MB, free: 9.422 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.01664, allocations: 96 kB / 280.6 MB, free: 9.328 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003942/0.01703, allocations: 211.8 kB / 280.8 MB, free: 9.121 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000203/0.01723, allocations: 203.3 kB / 281 MB, free: 8.922 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003512/0.01758, allocations: 291.3 kB / 281.3 MB, free: 8.637 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00178/0.01936, allocations: 1.227 MB / 282.5 MB, free: 7.406 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.01937, allocations: 0 / 282.5 MB, free: 7.406 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.01937, allocations: 0 / 282.5 MB, free: 7.406 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.01938, allocations: 4 kB / 282.5 MB, free: 7.402 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.002624/0.022, allocations: 1.03 MB / 283.6 MB, free: 6.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.02205, allocations: 11.98 kB / 283.6 MB, free: 6.328 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003709/0.02242, allocations: 140.4 kB / 283.7 MB, free: 6.191 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009483/0.02337, allocations: 472.7 kB / 284.2 MB, free: 5.703 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001678/0.02353, allocations: 131 kB / 284.3 MB, free: 5.555 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002206/0.02375, allocations: 72.69 kB / 284.4 MB, free: 5.484 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.0251, allocations: 0.699 MB / 285.1 MB, free: 4.742 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.02512, allocations: 3.938 kB / 285.1 MB, free: 4.738 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.994e-05/0.02519, allocations: 28 kB / 285.1 MB, free: 4.711 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.02521, allocations: 12 kB / 285.1 MB, free: 4.699 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.02647, allocations: 0.5282 MB / 285.7 MB, free: 4.172 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003767/0.03024, allocations: 1.996 MB / 287.6 MB, free: 2.094 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.03136, allocations: 457.2 kB / 288.1 MB, free: 1.625 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005992/0.03196, allocations: 242.1 kB / 288.3 MB, free: 1.383 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.811e-05/0.032, allocations: 12 kB / 288.3 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.03204, allocations: 42.5 kB / 288.4 MB, free: 1.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 2.365e-06/0.03205, allocations: 0 / 288.4 MB, free: 1.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.128/0.16, allocations: 3.331 MB / 291.7 MB, free: 28.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.16, allocations: 83.7 kB / 291.8 MB, free: 27.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006582/0.1607, allocations: 0.5138 MB / 292.3 MB, free: 27.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.571e-05/0.1607, allocations: 36.86 kB / 292.3 MB, free: 27.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.1609, allocations: 316.6 kB / 292.7 MB, free: 27.44 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.161, allocations: 217.4 kB / 292.9 MB, free: 27.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.1612, allocations: 115.2 kB / 293 MB, free: 27.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.016e-05/0.1613, allocations: 366.5 kB / 293.3 MB, free: 26.9 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005578/0.1619, allocations: 246.2 kB / 293.6 MB, free: 26.81 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000567/0.1624, allocations: 349.2 kB / 293.9 MB, free: 26.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.1635, allocations: 0.5999 MB / 294.5 MB, free: 26.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1635, allocations: 1.125 kB / 294.5 MB, free: 26.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001507/0.165, allocations: 0.7778 MB / 295.3 MB, free: 25.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1651, allocations: 6.688 kB / 295.3 MB, free: 25.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.1651, allocations: 1.906 kB / 295.3 MB, free: 25.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002836/0.1653, allocations: 47.86 kB / 295.4 MB, free: 25.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008622/0.1662, allocations: 166.8 kB / 295.5 MB, free: 25.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009815/0.1672, allocations: 1.302 MB / 296.8 MB, free: 24.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006094/0.1678, allocations: 39.3 kB / 296.9 MB, free: 24.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.336e-05/0.1679, allocations: 24.38 kB / 296.9 MB, free: 24.64 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.0002566/0.1681, allocations: 204.2 kB / 297.1 MB, free: 24.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.1683, allocations: 84.31 kB / 297.2 MB, free: 24.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/0.17, allocations: 0.8362 MB / 298 MB, free: 24.05 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.1701, allocations: 7.531 kB / 298 MB, free: 24.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1701, allocations: 0.5625 kB / 298 MB, free: 24.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.1701, allocations: 5.094 kB / 298 MB, free: 24.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003357/0.1734, allocations: 1.593 MB / 299.6 MB, free: 23.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.1734, allocations: 0.875 kB / 299.6 MB, free: 23.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005194/0.1739, allocations: 110.2 kB / 299.7 MB, free: 23.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002295/0.1762, allocations: 474.5 kB / 300.2 MB, free: 23.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.774e-05/0.1763, allocations: 14.52 kB / 300.2 MB, free: 23.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004462/0.1807, allocations: 2.982 MB / 303.2 MB, free: 21.01 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1808, allocations: 1.375 kB / 303.2 MB, free: 21.01 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002785/0.1835, allocations: 1.389 MB / 304.6 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002673/0.1838, allocations: 131.2 kB / 304.7 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.276e-05/0.1839, allocations: 17.3 kB / 304.7 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000595/0.1845, allocations: 40.16 kB / 304.7 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.1846, allocations: 52.84 kB / 304.8 MB, free: 20.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-05/0.1847, allocations: 16.72 kB / 304.8 MB, free: 20.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003904/0.1851, allocations: 370 kB / 305.2 MB, free: 20.01 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1851, allocations: 4 kB / 305.2 MB, free: 20.01 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007141/0.1858, allocations: 185.1 kB / 305.4 MB, free: 19.99 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.0002456/0.186, allocations: 150.1 kB / 305.5 MB, free: 19.88 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.1873, allocations: 0.72 MB / 306.2 MB, free: 19.54 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1873, allocations: 0 / 306.2 MB, free: 19.54 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007617/0.188, allocations: 0.4951 MB / 306.7 MB, free: 19.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005882/0.1886, allocations: 85.14 kB / 306.8 MB, free: 19.24 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.1907, allocations: 1.382 MB / 308.2 MB, free: 18.03 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.1909, allocations: 303.1 kB / 308.5 MB, free: 17.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002602/0.1911, allocations: 74.16 kB / 308.6 MB, free: 17.64 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.1913, allocations: 52.47 kB / 308.6 MB, free: 17.59 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1913, allocations: 0 / 308.6 MB, free: 17.59 MB / 266.7 MB Notification: Performance of Templates: time 0.01292/0.2042, allocations: 9.534 MB / 318.1 MB, free: 8.223 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 480] 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.708425218006596]