Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 73.8 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001929/0.001929, allocations: 160.8 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 177.2 MB / 204.9 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 50.91 kB / 325.6 MB, free: 268 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08759/0.08912, allocations: 53.34 MB / 378.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005405/0.09453, allocations: 3.976 MB / 382.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002423/0.09695, allocations: 1.566 MB / 384.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002237/0.09717, allocations: 15.88 kB / 384.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.09749, allocations: 122.8 kB / 384.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007431/0.09823, allocations: 365.6 kB / 384.9 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004157/0.09865, allocations: 243.6 kB / 385.2 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009626/0.09961, allocations: 0.9824 MB / 386.2 MB, free: 8.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000266/0.09988, allocations: 158.1 kB / 386.3 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004564/0.1003, allocations: 386.7 kB / 386.7 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005176/0.1009, allocations: 374.3 kB / 387.1 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.101, allocations: 96 kB / 387.2 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003766/0.1014, allocations: 219.8 kB / 387.4 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001795/0.1015, allocations: 191.4 kB / 387.6 MB, free: 6.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003511/0.1019, allocations: 350.5 kB / 387.9 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.1031, allocations: 1.175 MB / 389.1 MB, free: 5.438 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1031, allocations: 0 / 389.1 MB, free: 5.438 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1031, allocations: 0 / 389.1 MB, free: 5.438 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.1031, allocations: 4 kB / 389.1 MB, free: 5.434 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.00234/0.1054, allocations: 1.042 MB / 390.1 MB, free: 4.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.1054, allocations: 12.03 kB / 390.1 MB, free: 4.348 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002415/0.1057, allocations: 88.45 kB / 390.2 MB, free: 4.262 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007457/0.1064, allocations: 481.3 kB / 390.7 MB, free: 3.762 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.1066, allocations: 131 kB / 390.8 MB, free: 3.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/0.1067, allocations: 68.48 kB / 390.9 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.1079, allocations: 0.6985 MB / 391.6 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.1079, allocations: 3.938 kB / 391.6 MB, free: 2.805 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.26e-05/0.108, allocations: 28 kB / 391.6 MB, free: 2.777 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.108, allocations: 12 kB / 391.6 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.1092, allocations: 0.5243 MB / 392.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003215/0.1124, allocations: 1.965 MB / 394.1 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.1134, allocations: 458.2 kB / 394.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005432/0.114, allocations: 254 kB / 394.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.114, allocations: 4 kB / 394.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.114, allocations: 46.48 kB / 394.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 1.764e-06/0.114, allocations: 4 kB / 394.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=61): time 0.01312/0.1271, allocations: 3.314 MB / 398.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.1272, allocations: 93.48 kB / 398.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006947/0.1279, allocations: 0.5135 MB / 398.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.063e-05/0.128, allocations: 41.7 kB / 398.8 MB, free: 11.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/0.1282, allocations: 316.8 kB / 399.1 MB, free: 11.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.1284, allocations: 218.1 kB / 399.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/0.1286, allocations: 114.3 kB / 399.5 MB, free: 10.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.1288, allocations: 362.8 kB / 399.8 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005909/0.1294, allocations: 249.2 kB / 400.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006568/0.13, allocations: 344.5 kB / 400.4 MB, free: 9.742 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.1313, allocations: 0.6071 MB / 401 MB, free: 9.102 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.1313, allocations: 4 kB / 401 MB, free: 9.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001585/0.1329, allocations: 0.7397 MB / 401.7 MB, free: 8.348 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.1329, allocations: 18.73 kB / 401.8 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.1329, allocations: 7.984 kB / 401.8 MB, free: 8.324 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001583/0.1331, allocations: 28.84 kB / 401.8 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008283/0.1339, allocations: 164 kB / 402 MB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.135, allocations: 1.296 MB / 403.2 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005648/0.1356, allocations: 39.92 kB / 403.3 MB, free: 6.691 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.373e-05/0.1357, allocations: 28.05 kB / 403.3 MB, free: 6.664 MB / 366.1 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.0002821/0.1359, allocations: 205.6 kB / 403.5 MB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.1361, allocations: 55.67 kB / 403.6 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001892/0.138, allocations: 0.8356 MB / 404.4 MB, free: 5.555 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.138, allocations: 4 kB / 404.4 MB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.138, allocations: 4 kB / 404.4 MB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.138, allocations: 12.06 kB / 404.4 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003652/0.1416, allocations: 1.605 MB / 406 MB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1416, allocations: 0 / 406 MB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000554/0.1422, allocations: 107.9 kB / 406.1 MB, free: 3.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002418/0.1446, allocations: 475.4 kB / 406.6 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.563e-05/0.1447, allocations: 15.98 kB / 406.6 MB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005211/0.1499, allocations: 2.958 MB / 409.6 MB, free: 248 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1499, allocations: 0 / 409.6 MB, free: 248 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00306/0.1529, allocations: 1.358 MB / 410.9 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002885/0.1532, allocations: 131.7 kB / 411.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-05/0.1533, allocations: 15.98 kB / 411.1 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005977/0.1539, allocations: 43.97 kB / 411.1 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.154, allocations: 56.48 kB / 411.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.785e-05/0.1541, allocations: 20 kB / 411.2 MB, free: 14.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004545/0.1545, allocations: 367.1 kB / 411.6 MB, free: 14.24 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1545, allocations: 0 / 411.6 MB, free: 14.24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006794/0.1552, allocations: 184.1 kB / 411.7 MB, free: 14.06 MB / 382.1 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.0002646/0.1555, allocations: 162.9 kB / 411.9 MB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001493/0.157, allocations: 0.7032 MB / 412.6 MB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.157, allocations: 0 / 412.6 MB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000937/0.1579, allocations: 0.4988 MB / 413.1 MB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005974/0.1585, allocations: 81.86 kB / 413.2 MB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002687/0.1612, allocations: 1.48 MB / 414.7 MB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.1615, allocations: 303.1 kB / 415 MB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002722/0.1618, allocations: 68.66 kB / 415 MB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.162, allocations: 48.47 kB / 415.1 MB, free: 10.63 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.162, allocations: 0 / 415.1 MB, free: 10.63 MB / 382.1 MB Notification: Performance of Templates: time 0.01708/0.179, allocations: 9.508 MB / 424.6 MB, free: 1.238 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.611924550961703]