Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 117 kB / 18.41 MB, free: 4.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 190.9 kB / 21.35 MB, free: 1.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 247 MB, free: 4.328 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 51.91 kB / 358.7 MB, free: 8.465 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.103, allocations: 49.44 MB / 408.1 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.006242/0.1093, allocations: 4.353 MB / 412.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003206/0.1125, allocations: 1.597 MB / 414.1 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005024/0.1131, allocations: 11.94 kB / 414.1 MB, free: 1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004406/0.1135, allocations: 130.8 kB / 414.2 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009495/0.1145, allocations: 353.6 kB / 414.5 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.1151, allocations: 227.7 kB / 414.8 MB, free: 308 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001045/0.1161, allocations: 0.9822 MB / 415.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003726/0.1165, allocations: 241.3 kB / 416 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004545/0.117, allocations: 370.8 kB / 416.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000541/0.1175, allocations: 426.3 kB / 416.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.1177, allocations: 96 kB / 416.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003967/0.1181, allocations: 215.9 kB / 417.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.1183, allocations: 199.3 kB / 417.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004005/0.1187, allocations: 418 kB / 417.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.12, allocations: 1.164 MB / 418.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.12, allocations: 3.938 kB / 418.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.12, allocations: 0 / 418.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.12, allocations: 0 / 418.8 MB, free: 12.21 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.002448/0.1225, allocations: 1.118 MB / 419.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1225, allocations: 12.03 kB / 420 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.1227, allocations: 84.42 kB / 420 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008432/0.1235, allocations: 0.511 MB / 420.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.1237, allocations: 75.56 kB / 420.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/0.1239, allocations: 64.48 kB / 420.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.125, allocations: 0.6058 MB / 421.3 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.125, allocations: 3.984 kB / 421.3 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.079e-05/0.1251, allocations: 24 kB / 421.3 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.1251, allocations: 19.98 kB / 421.3 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.1263, allocations: 0.5282 MB / 421.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003547/0.1299, allocations: 2.295 MB / 424.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.131, allocations: 486.7 kB / 424.6 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005798/0.1316, allocations: 259 kB / 424.9 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.1316, allocations: 4 kB / 424.9 MB, free: 5.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.1317, allocations: 38.56 kB / 424.9 MB, free: 5.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.585e-06/0.1317, allocations: 4 kB / 424.9 MB, free: 5.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.01326/0.1449, allocations: 3.569 MB / 428.5 MB, free: 2.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/0.1451, allocations: 85.67 kB / 428.6 MB, free: 2.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007554/0.1458, allocations: 0.5293 MB / 429.1 MB, free: 1.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.597e-05/0.1459, allocations: 37.7 kB / 429.2 MB, free: 1.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/0.1462, allocations: 324.8 kB / 429.5 MB, free: 1.176 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/0.1464, allocations: 214.2 kB / 429.7 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.1466, allocations: 118.3 kB / 429.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.1468, allocations: 366.7 kB / 430.2 MB, free: 488 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005889/0.1474, allocations: 249.2 kB / 430.4 MB, free: 236 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2103/0.3577, allocations: 342.3 kB / 430.7 MB, free: 22.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.359, allocations: 0.6023 MB / 431.3 MB, free: 22.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.359, allocations: 3.594 kB / 431.3 MB, free: 22.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001518/0.3606, allocations: 0.7445 MB / 432.1 MB, free: 22.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.3606, allocations: 7.281 kB / 432.1 MB, free: 22.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.3606, allocations: 2.406 kB / 432.1 MB, free: 22.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001882/0.3608, allocations: 31.83 kB / 432.1 MB, free: 22.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007609/0.3616, allocations: 169.3 kB / 432.3 MB, free: 22.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007816/0.3624, allocations: 1.43 MB / 433.7 MB, free: 20.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005845/0.363, allocations: 44.55 kB / 433.8 MB, free: 20.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.626e-05/0.363, allocations: 24.25 kB / 433.8 MB, free: 20.77 MB / 350.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.0002813/0.3633, allocations: 205.8 kB / 434 MB, free: 20.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.3634, allocations: 62.44 kB / 434 MB, free: 20.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001626/0.3651, allocations: 0.8375 MB / 434.9 MB, free: 20.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.3651, allocations: 5.594 kB / 434.9 MB, free: 20.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.3651, allocations: 2.25 kB / 434.9 MB, free: 20.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.3651, allocations: 3.188 kB / 434.9 MB, free: 20.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003582/0.3687, allocations: 1.852 MB / 436.8 MB, free: 20.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.3687, allocations: 0.5938 kB / 436.8 MB, free: 20.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005172/0.3692, allocations: 105.5 kB / 436.9 MB, free: 20.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002343/0.3716, allocations: 472.9 kB / 437.3 MB, free: 20.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.279e-05/0.3716, allocations: 13.8 kB / 437.3 MB, free: 20.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004362/0.376, allocations: 3.16 MB / 440.5 MB, free: 18.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.376, allocations: 1.188 kB / 440.5 MB, free: 18.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00271/0.3787, allocations: 1.371 MB / 441.9 MB, free: 18.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002518/0.379, allocations: 212.4 kB / 442.1 MB, free: 18.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.589e-05/0.3791, allocations: 12.44 kB / 442.1 MB, free: 18.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005651/0.3797, allocations: 44.73 kB / 442.1 MB, free: 18.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.3798, allocations: 51.33 kB / 442.2 MB, free: 18.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.27e-05/0.3799, allocations: 21 kB / 442.2 MB, free: 18.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004317/0.3803, allocations: 389.4 kB / 442.6 MB, free: 18.26 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3803, allocations: 0 / 442.6 MB, free: 18.26 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006784/0.381, allocations: 188.6 kB / 442.8 MB, free: 18.26 MB / 350.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.00025/0.3813, allocations: 156.8 kB / 442.9 MB, free: 18.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001337/0.3826, allocations: 0.7343 MB / 443.6 MB, free: 18.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3826, allocations: 0 / 443.6 MB, free: 18.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008273/0.3835, allocations: 0.5189 MB / 444.2 MB, free: 17.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006102/0.3841, allocations: 94.44 kB / 444.3 MB, free: 17.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.3866, allocations: 1.521 MB / 445.8 MB, free: 17.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.387, allocations: 0.9014 MB / 446.7 MB, free: 16.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.3872, allocations: 55.62 kB / 446.7 MB, free: 16.41 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3872, allocations: 3.938 kB / 446.7 MB, free: 16.41 MB / 350.1 MB Notification: Performance of Templates: time 0.01491/0.4021, allocations: 11.82 MB / 458.6 MB, free: 11.9 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.977949182037264]