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.001601/0.001601, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 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.001563/0.001563, allocations: 156.5 kB / 24.48 MB, free: 3.461 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.414/1.414, allocations: 173.4 MB / 201.1 MB, free: 12.69 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.001597/0.001597, allocations: 48.52 kB / 319.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08319/0.08478, allocations: 52.17 MB / 371.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005543/0.09033, allocations: 3.959 MB / 375.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002673/0.093, allocations: 1.5 MB / 377 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002971/0.0933, allocations: 11.94 kB / 377 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003639/0.09366, allocations: 126.7 kB / 377.2 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008295/0.09449, allocations: 365.6 kB / 377.5 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.09493, allocations: 231.6 kB / 377.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009936/0.09592, allocations: 0.9785 MB / 378.7 MB, free: 152 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002722/0.09619, allocations: 146.1 kB / 378.9 MB, free: 0 / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004656/0.09666, allocations: 390.6 kB / 379.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005271/0.09719, allocations: 374.3 kB / 379.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.09732, allocations: 96 kB / 379.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003736/0.09769, allocations: 211.9 kB / 379.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.09789, allocations: 199.3 kB / 380.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003568/0.09824, allocations: 342.5 kB / 380.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.09947, allocations: 1.171 MB / 381.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.09948, allocations: 0 / 381.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.09948, allocations: 0 / 381.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.09949, allocations: 0 / 381.6 MB, free: 13.24 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.002408/0.1019, allocations: 1.05 MB / 382.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1019, allocations: 8.922 kB / 382.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.1021, allocations: 92.41 kB / 382.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007831/0.1029, allocations: 457.5 kB / 383.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.103, allocations: 130.9 kB / 383.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/0.1032, allocations: 72.48 kB / 383.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.1044, allocations: 0.6985 MB / 384.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.1044, allocations: 0 / 384.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.482e-05/0.1044, allocations: 28 kB / 384.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.1044, allocations: 12 kB / 384.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.1056, allocations: 0.5204 MB / 384.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003242/0.1089, allocations: 1.98 MB / 386.7 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.1099, allocations: 457.2 kB / 387.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005487/0.1104, allocations: 246.1 kB / 387.3 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.1105, allocations: 11.94 kB / 387.4 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.1105, allocations: 42.5 kB / 387.4 MB, free: 7.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.904e-06/0.1105, allocations: 0 / 387.4 MB, free: 7.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.01321/0.1237, allocations: 3.317 MB / 390.7 MB, free: 3.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.1238, allocations: 97.55 kB / 390.8 MB, free: 3.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006846/0.1245, allocations: 0.5134 MB / 391.3 MB, free: 3.242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.959e-05/0.1245, allocations: 37.7 kB / 391.4 MB, free: 3.199 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.1248, allocations: 320.8 kB / 391.7 MB, free: 2.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/0.1249, allocations: 226.1 kB / 391.9 MB, free: 2.656 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.1251, allocations: 106.3 kB / 392 MB, free: 2.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.1253, allocations: 366.8 kB / 392.4 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000598/0.1259, allocations: 241.2 kB / 392.6 MB, free: 1.945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006626/0.1266, allocations: 352.5 kB / 392.9 MB, free: 1.566 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.1278, allocations: 0.6032 MB / 393.5 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1278, allocations: 4 kB / 393.5 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001549/0.1294, allocations: 0.7358 MB / 394.3 MB, free: 184 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.1294, allocations: 15.88 kB / 394.3 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.1294, allocations: 4 kB / 394.3 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001477/0.1296, allocations: 41.14 kB / 394.3 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008144/0.1304, allocations: 159.8 kB / 394.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00117/0.1315, allocations: 1.302 MB / 395.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005385/0.1321, allocations: 40.05 kB / 395.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.466e-05/0.1321, allocations: 23.98 kB / 395.9 MB, free: 14.49 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.0002831/0.1324, allocations: 201.7 kB / 396.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.1326, allocations: 55.67 kB / 396.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001961/0.1345, allocations: 0.8472 MB / 397 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.1345, allocations: 4 kB / 397 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1345, allocations: 4 kB / 397 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.1345, allocations: 7.922 kB / 397 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003621/0.1382, allocations: 1.59 MB / 398.6 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1382, allocations: 0 / 398.6 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005416/0.1387, allocations: 107.9 kB / 398.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002361/0.1411, allocations: 479.4 kB / 399.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.627e-05/0.1411, allocations: 19.94 kB / 399.2 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005165/0.1463, allocations: 2.962 MB / 402.1 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.1463, allocations: 0 / 402.1 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003022/0.1493, allocations: 1.362 MB / 403.5 MB, free: 6.691 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002846/0.1496, allocations: 139.7 kB / 403.6 MB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.521e-05/0.1497, allocations: 8 kB / 403.6 MB, free: 6.547 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005925/0.1502, allocations: 39.97 kB / 403.7 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.1504, allocations: 52.5 kB / 403.7 MB, free: 6.457 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.235e-05/0.1504, allocations: 23.98 kB / 403.7 MB, free: 6.434 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004528/0.1509, allocations: 371.1 kB / 404.1 MB, free: 6.074 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1509, allocations: 0 / 404.1 MB, free: 6.074 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006775/0.1516, allocations: 187.9 kB / 404.3 MB, free: 5.891 MB / 366.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.0002572/0.1518, allocations: 147 kB / 404.4 MB, free: 5.734 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001534/0.1534, allocations: 0.7148 MB / 405.1 MB, free: 5.008 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1534, allocations: 0 / 405.1 MB, free: 5.008 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009751/0.1543, allocations: 0.5028 MB / 405.6 MB, free: 4.488 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006082/0.1549, allocations: 78.08 kB / 405.7 MB, free: 4.414 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002827/0.1578, allocations: 1.48 MB / 407.2 MB, free: 2.902 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.1581, allocations: 303.1 kB / 407.5 MB, free: 2.578 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002845/0.1584, allocations: 72.66 kB / 407.6 MB, free: 2.504 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.1586, allocations: 52.47 kB / 407.6 MB, free: 2.453 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1586, allocations: 0 / 407.6 MB, free: 2.453 MB / 366.1 MB Notification: Performance of Templates: time 0.01742/0.176, allocations: 9.48 MB / 417.1 MB, free: 9.09 MB / 382.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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 4.782249593059532]