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.001312/0.001312, allocations: 82.02 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.001411/0.001411, allocations: 166.2 kB / 24.5 MB, free: 3.848 MB / 14.72 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 1.401/1.401, allocations: 177.1 MB / 204.7 MB, free: 8.926 MB / 190.1 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 0.00191/0.00191, allocations: 62.08 kB / 325.5 MB, free: 176 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09476/0.09667, allocations: 53.39 MB / 378.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005519/0.1022, allocations: 3.979 MB / 382.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002772/0.105, allocations: 1.566 MB / 384.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002512/0.1052, allocations: 11.94 kB / 384.5 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.1056, allocations: 126.8 kB / 384.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007842/0.1063, allocations: 369.6 kB / 385 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.1068, allocations: 235.6 kB / 385.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001015/0.1078, allocations: 0.9902 MB / 386.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002763/0.1081, allocations: 154.1 kB / 386.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004944/0.1086, allocations: 386.8 kB / 386.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005266/0.1091, allocations: 378.2 kB / 387.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001336/0.1092, allocations: 96 kB / 387.2 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003752/0.1096, allocations: 215.9 kB / 387.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.1098, allocations: 191.4 kB / 387.6 MB, free: 6.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000356/0.1102, allocations: 350.5 kB / 387.9 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.1114, allocations: 1.175 MB / 389.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1114, allocations: 4 kB / 389.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1114, allocations: 0 / 389.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.1114, allocations: 0 / 389.1 MB, free: 5.219 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.002434/0.1138, allocations: 1.042 MB / 390.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1139, allocations: 15.98 kB / 390.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002575/0.1141, allocations: 92.39 kB / 390.2 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008003/0.1149, allocations: 477.4 kB / 390.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.1151, allocations: 127 kB / 390.8 MB, free: 3.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002133/0.1153, allocations: 76.42 kB / 390.9 MB, free: 3.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.1164, allocations: 0.6985 MB / 391.6 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.1165, allocations: 0 / 391.6 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.965e-05/0.1165, allocations: 24 kB / 391.6 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.1165, allocations: 15.94 kB / 391.6 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.1177, allocations: 0.5243 MB / 392.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003308/0.121, allocations: 1.965 MB / 394.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.122, allocations: 461.1 kB / 394.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005412/0.1226, allocations: 246.1 kB / 394.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.1226, allocations: 4 kB / 394.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.1226, allocations: 42.55 kB / 394.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 1.873e-06/0.1226, allocations: 0 / 394.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=61): time 0.0134/0.136, allocations: 3.333 MB / 398.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/0.1361, allocations: 89.55 kB / 398.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007973/0.1369, allocations: 0.5096 MB / 398.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.645e-05/0.137, allocations: 41.7 kB / 398.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002653/0.1372, allocations: 316.8 kB / 399.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002712/0.1375, allocations: 222.1 kB / 399.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.1377, allocations: 114.3 kB / 399.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.1379, allocations: 366.7 kB / 399.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005863/0.1385, allocations: 245.2 kB / 400.1 MB, free: 9.898 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006749/0.1392, allocations: 348.5 kB / 400.4 MB, free: 9.523 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.1405, allocations: 0.6032 MB / 401 MB, free: 8.887 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.1405, allocations: 4 kB / 401 MB, free: 8.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001715/0.1422, allocations: 0.7399 MB / 401.8 MB, free: 8.133 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.1422, allocations: 7.938 kB / 401.8 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.1422, allocations: 7.984 kB / 401.8 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001874/0.1424, allocations: 32.78 kB / 401.8 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008622/0.1433, allocations: 171.8 kB / 402 MB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.1446, allocations: 1.288 MB / 403.3 MB, free: 6.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006447/0.1452, allocations: 39.92 kB / 403.3 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.824e-05/0.1453, allocations: 23.98 kB / 403.3 MB, free: 6.457 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.0003365/0.1456, allocations: 209.9 kB / 403.5 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.1458, allocations: 63.64 kB / 403.6 MB, free: 6.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002003/0.1478, allocations: 0.8356 MB / 404.4 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.1478, allocations: 8 kB / 404.4 MB, free: 5.328 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1478, allocations: 0 / 404.4 MB, free: 5.328 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.821e-05/0.1478, allocations: 7.922 kB / 404.4 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003982/0.1518, allocations: 1.598 MB / 406 MB, free: 3.676 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.1518, allocations: 8 kB / 406 MB, free: 3.668 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005405/0.1523, allocations: 103.9 kB / 406.1 MB, free: 3.566 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002374/0.1547, allocations: 464.4 kB / 406.6 MB, free: 3.109 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.699e-05/0.1548, allocations: 19.98 kB / 406.6 MB, free: 3.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005205/0.16, allocations: 2.969 MB / 409.6 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.16, allocations: 4.094 kB / 409.6 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003107/0.1631, allocations: 1.362 MB / 410.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003644/0.1634, allocations: 131.5 kB / 411.1 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.087e-05/0.1635, allocations: 16 kB / 411.1 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000611/0.1641, allocations: 43.97 kB / 411.1 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.1643, allocations: 56.48 kB / 411.2 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/0.1643, allocations: 16 kB / 411.2 MB, free: 14.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004709/0.1648, allocations: 367.1 kB / 411.6 MB, free: 14.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1648, allocations: 0 / 411.6 MB, free: 14.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007282/0.1655, allocations: 188.1 kB / 411.7 MB, free: 13.85 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.0002756/0.1658, allocations: 154.7 kB / 411.9 MB, free: 13.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00155/0.1673, allocations: 0.7071 MB / 412.6 MB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1673, allocations: 0 / 412.6 MB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009354/0.1683, allocations: 0.4943 MB / 413.1 MB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006157/0.1689, allocations: 80.53 kB / 413.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.1717, allocations: 1.479 MB / 414.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.172, allocations: 303.1 kB / 415 MB, free: 10.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002952/0.1723, allocations: 72.64 kB / 415 MB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.1725, allocations: 52.47 kB / 415.1 MB, free: 10.43 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1725, allocations: 0 / 415.1 MB, free: 10.43 MB / 382.1 MB Notification: Performance of Templates: time 0.01777/0.1903, allocations: 9.507 MB / 424.6 MB, free: 1.02 MB / 382.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.692010154016316]