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.00141/0.00141, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001068/0.001068, allocations: 169.5 kB / 24.91 MB, free: 8.758 MB / 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 0.9645/0.9645, allocations: 177 MB / 205.2 MB, free: 5.016 MB / 186.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.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.312e-06/1.312e-06, allocations: 0 / 273.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.195e-05/1.327e-05, allocations: 5.406 kB / 273.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.003644/0.003658, allocations: 4.326 MB / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.005526, allocations: 1.659 MB / 279.4 MB, free: 11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002056/0.005732, allocations: 11.94 kB / 279.4 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.005987, allocations: 126.8 kB / 279.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004946/0.006482, allocations: 373.3 kB / 279.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.006742, allocations: 239.6 kB / 280.1 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005993/0.007341, allocations: 1.013 MB / 281.2 MB, free: 9.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.007531, allocations: 164 kB / 281.3 MB, free: 9.086 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004428/0.007974, allocations: 0.5652 MB / 281.9 MB, free: 8.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003061/0.00828, allocations: 339.1 kB / 282.2 MB, free: 8.188 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.123e-05/0.008361, allocations: 96 kB / 282.3 MB, free: 8.094 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002458/0.008607, allocations: 215.9 kB / 282.5 MB, free: 7.883 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.491e-05/0.008702, allocations: 203.3 kB / 282.7 MB, free: 7.684 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.008888, allocations: 295.3 kB / 283 MB, free: 7.395 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005287/0.009416, allocations: 0.7123 MB / 283.7 MB, free: 6.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.009419, allocations: 0 / 283.7 MB, free: 6.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.009419, allocations: 3.938 kB / 283.7 MB, free: 6.676 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.009425, allocations: 4 kB / 283.7 MB, free: 6.672 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.001085/0.01051, allocations: 0.9939 MB / 284.7 MB, free: 5.648 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.01054, allocations: 15.98 kB / 284.7 MB, free: 5.633 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.01069, allocations: 108.8 kB / 284.8 MB, free: 5.527 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.01105, allocations: 322.4 kB / 285.2 MB, free: 5.184 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.352e-05/0.01112, allocations: 131 kB / 285.3 MB, free: 5.039 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.01123, allocations: 80.62 kB / 285.4 MB, free: 4.961 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004268/0.01166, allocations: 0.5316 MB / 285.9 MB, free: 4.383 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.01167, allocations: 7.922 kB / 285.9 MB, free: 4.375 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/0.01171, allocations: 20 kB / 285.9 MB, free: 4.355 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.01171, allocations: 16 kB / 285.9 MB, free: 4.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002499/0.01196, allocations: 198.2 kB / 286.1 MB, free: 4.145 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.01341, allocations: 1.478 MB / 287.6 MB, free: 2.598 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.01367, allocations: 249.2 kB / 287.9 MB, free: 2.332 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.0138, allocations: 114 kB / 288 MB, free: 2.215 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.01382, allocations: 8 kB / 288 MB, free: 2.207 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.01384, allocations: 43.22 kB / 288 MB, free: 2.156 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 1.623e-06/0.01385, allocations: 0 / 288 MB, free: 2.156 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.09918/0.113, allocations: 2.497 MB / 290.5 MB, free: 25.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.1131, allocations: 85.36 kB / 290.6 MB, free: 25.13 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003719/0.1134, allocations: 418.6 kB / 291 MB, free: 25.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/0.1135, allocations: 36.55 kB / 291 MB, free: 24.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.1136, allocations: 273.8 kB / 291.3 MB, free: 24.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.1137, allocations: 218.9 kB / 291.5 MB, free: 24.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.1138, allocations: 115.9 kB / 291.6 MB, free: 24.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.5e-05/0.1139, allocations: 371.7 kB / 292 MB, free: 24.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.114, allocations: 69.89 kB / 292.1 MB, free: 24.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.1141, allocations: 168.7 kB / 292.2 MB, free: 24.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.1144, allocations: 296.9 kB / 292.5 MB, free: 24.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1144, allocations: 1.156 kB / 292.5 MB, free: 24.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0004405/0.1149, allocations: 350.1 kB / 292.9 MB, free: 24.19 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1149, allocations: 8.5 kB / 292.9 MB, free: 24.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1149, allocations: 4.219 kB / 292.9 MB, free: 24.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001581/0.1151, allocations: 44.05 kB / 292.9 MB, free: 24.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004871/0.1155, allocations: 196.2 kB / 293.1 MB, free: 24.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005071/0.116, allocations: 1.193 MB / 294.3 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.1163, allocations: 33.28 kB / 294.3 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.099e-05/0.1163, allocations: 21.28 kB / 294.4 MB, free: 23.05 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.0001192/0.1164, allocations: 142 kB / 294.5 MB, free: 22.94 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.76e-05/0.1165, allocations: 54.05 kB / 294.5 MB, free: 22.94 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005354/0.1171, allocations: 438.8 kB / 295 MB, free: 22.87 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.1171, allocations: 7.422 kB / 295 MB, free: 22.87 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.1171, allocations: 1.125 kB / 295 MB, free: 22.87 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.1171, allocations: 4.609 kB / 295 MB, free: 22.87 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.1184, allocations: 0.8937 MB / 295.9 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1184, allocations: 1.828 kB / 295.9 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002949/0.1187, allocations: 125.8 kB / 296 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008272/0.1195, allocations: 321.8 kB / 296.3 MB, free: 22.65 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/0.1196, allocations: 11.84 kB / 296.3 MB, free: 22.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001632/0.1212, allocations: 1.992 MB / 298.3 MB, free: 21.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1212, allocations: 1.094 kB / 298.3 MB, free: 21.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008513/0.122, allocations: 0.7076 MB / 299 MB, free: 21.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.1222, allocations: 62.25 kB / 299.1 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/0.1222, allocations: 16.06 kB / 299.1 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.1224, allocations: 32.02 kB / 299.1 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.1225, allocations: 56.56 kB / 299.2 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.596e-05/0.1226, allocations: 12.83 kB / 299.2 MB, free: 21.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001816/0.1228, allocations: 197.8 kB / 299.4 MB, free: 21.06 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1228, allocations: 0 / 299.4 MB, free: 21.06 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004231/0.1232, allocations: 186.6 kB / 299.6 MB, free: 21.06 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.0001797/0.1234, allocations: 137.9 kB / 299.7 MB, free: 20.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004369/0.1238, allocations: 411 kB / 300.1 MB, free: 20.85 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.1238, allocations: 4.75 kB / 300.1 MB, free: 20.85 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003097/0.1241, allocations: 370 kB / 300.5 MB, free: 20.71 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.1244, allocations: 90.38 kB / 300.6 MB, free: 20.71 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.1259, allocations: 1.193 MB / 301.8 MB, free: 20.14 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.429e-05/0.126, allocations: 143.1 kB / 301.9 MB, free: 20.06 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001901/0.1262, allocations: 68.88 kB / 302 MB, free: 20.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002523/0.1265, allocations: 151.4 kB / 302.1 MB, free: 20 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1265, allocations: 1.219 kB / 302.1 MB, free: 20 MB / 266.7 MB Notification: Performance of Templates: time 0.01128/0.1378, allocations: 10.51 MB / 312.6 MB, free: 13.2 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 -s gbode -gbm=radauIIA3 -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","",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.7851189048960805]