Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00143/0.00143, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 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.001087/0.001087, allocations: 157 kB / 25.44 MB, free: 8.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9549/0.9549, allocations: 158.6 MB / 187.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 299.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.957e-05/3.162e-05, allocations: 2.281 kB / 299.7 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.003792/0.003824, allocations: 3.897 MB / 303.6 MB, free: 2.992 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002753/0.006577, allocations: 1.544 MB / 305.1 MB, free: 1.438 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004186/0.006995, allocations: 11.94 kB / 305.2 MB, free: 1.426 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003465/0.007342, allocations: 122.8 kB / 305.3 MB, free: 1.305 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008486/0.00819, allocations: 377.4 kB / 305.6 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004212/0.008612, allocations: 235.6 kB / 305.9 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008772/0.009489, allocations: 1.002 MB / 306.9 MB, free: 15.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.009745, allocations: 154.1 kB / 307 MB, free: 15.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007086/0.01045, allocations: 0.5612 MB / 307.6 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003833/0.01084, allocations: 331.1 kB / 307.9 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.01094, allocations: 96 kB / 308 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003392/0.01128, allocations: 211.9 kB / 308.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.0114, allocations: 199.3 kB / 308.4 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002247/0.01162, allocations: 291.3 kB / 308.7 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009407/0.01256, allocations: 1.211 MB / 309.9 MB, free: 12.67 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.01257, allocations: 0 / 309.9 MB, free: 12.67 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.01257, allocations: 4 kB / 309.9 MB, free: 12.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.01258, allocations: 7.875 kB / 309.9 MB, free: 12.66 MB / 298.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.001456/0.01404, allocations: 1.031 MB / 310.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.01408, allocations: 19.98 kB / 311 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000376/0.01446, allocations: 80.41 kB / 311 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005799/0.01503, allocations: 472.7 kB / 311.5 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.011e-05/0.01513, allocations: 119 kB / 311.6 MB, free: 10.87 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.01526, allocations: 68.73 kB / 311.7 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007078/0.01597, allocations: 0.7067 MB / 312.4 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.01599, allocations: 7.938 kB / 312.4 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.603e-05/0.01602, allocations: 24 kB / 312.4 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.01603, allocations: 12 kB / 312.4 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006728/0.0167, allocations: 0.5204 MB / 313 MB, free: 9.492 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002104/0.01881, allocations: 1.969 MB / 314.9 MB, free: 7.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005914/0.0194, allocations: 461.2 kB / 315.4 MB, free: 6.961 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003183/0.01972, allocations: 242.1 kB / 315.6 MB, free: 6.719 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.01974, allocations: 8 kB / 315.6 MB, free: 6.711 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.01977, allocations: 42.56 kB / 315.7 MB, free: 6.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=45): time 2.695e-06/0.01977, allocations: 0 / 315.7 MB, free: 6.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.006811/0.02658, allocations: 3.319 MB / 319 MB, free: 3.305 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.02663, allocations: 89.61 kB / 319.1 MB, free: 3.199 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000489/0.02712, allocations: 0.5057 MB / 319.6 MB, free: 2.684 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.02716, allocations: 37.7 kB / 319.6 MB, free: 2.641 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.0273, allocations: 320.8 kB / 319.9 MB, free: 2.324 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.02743, allocations: 218.1 kB / 320.1 MB, free: 2.109 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.02756, allocations: 110.3 kB / 320.2 MB, free: 1.996 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.02767, allocations: 366.7 kB / 320.6 MB, free: 1.629 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/0.028, allocations: 249.2 kB / 320.8 MB, free: 1.387 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003622/0.02837, allocations: 348.5 kB / 321.2 MB, free: 1.012 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007087/0.02907, allocations: 0.6071 MB / 321.8 MB, free: 380 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.02908, allocations: 0 / 321.8 MB, free: 380 kB / 298.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0009521/0.03003, allocations: 0.7436 MB / 322.5 MB, free: 15.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.03005, allocations: 8 kB / 322.5 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.03006, allocations: 0 / 322.5 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001488/0.03021, allocations: 37.09 kB / 322.6 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004072/0.03062, allocations: 163.8 kB / 322.7 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008171/0.03143, allocations: 1.3 MB / 324 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/0.03174, allocations: 40.03 kB / 324.1 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.03177, allocations: 24 kB / 324.1 MB, free: 13.94 MB / 314.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.0002294/0.032, allocations: 201.6 kB / 324.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.699e-05/0.03208, allocations: 63.56 kB / 324.4 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.03314, allocations: 0.8279 MB / 325.2 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.03315, allocations: 11.94 kB / 325.2 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-06/0.03315, allocations: 0 / 325.2 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.03316, allocations: 3.984 kB / 325.2 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002406/0.03557, allocations: 1.609 MB / 326.8 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.03557, allocations: 3.938 kB / 326.8 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.03582, allocations: 107.8 kB / 326.9 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001074/0.0369, allocations: 475.7 kB / 327.4 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-05/0.03695, allocations: 19.98 kB / 327.4 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002985/0.03993, allocations: 2.966 MB / 330.4 MB, free: 7.504 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.03993, allocations: 0 / 330.4 MB, free: 7.504 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.04164, allocations: 1.354 MB / 331.7 MB, free: 6.129 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002261/0.04187, allocations: 139.6 kB / 331.9 MB, free: 5.992 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.679e-05/0.04192, allocations: 12 kB / 331.9 MB, free: 5.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/0.04219, allocations: 43.91 kB / 331.9 MB, free: 5.938 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.0423, allocations: 52.55 kB / 332 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.04233, allocations: 16 kB / 332 MB, free: 5.871 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003399/0.04267, allocations: 371.1 kB / 332.3 MB, free: 5.512 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04267, allocations: 0 / 332.3 MB, free: 5.512 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008822/0.04355, allocations: 187.9 kB / 332.5 MB, free: 5.328 MB / 314.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.0002694/0.04382, allocations: 147 kB / 332.7 MB, free: 5.176 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009838/0.0448, allocations: 0.6992 MB / 333.4 MB, free: 4.461 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.04481, allocations: 7.938 kB / 333.4 MB, free: 4.453 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005444/0.04535, allocations: 0.495 MB / 333.9 MB, free: 3.949 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.0458, allocations: 74.02 kB / 333.9 MB, free: 3.879 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.0477, allocations: 1.383 MB / 335.3 MB, free: 2.457 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.04791, allocations: 307 kB / 335.6 MB, free: 2.129 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.04806, allocations: 60.41 kB / 335.7 MB, free: 2.07 MB / 314.7 MB Notification: Performance of SimCode: time 1.032e-06/0.04806, allocations: 4 kB / 335.7 MB, free: 2.066 MB / 314.7 MB Notification: Performance of Templates: time 0.01234/0.0604, allocations: 11.9 MB / 347.6 MB, free: 6.145 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.900146608240902]