Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.001294/0.001294, allocations: 84.62 kB / 20.68 MB, free: 1.023 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.001488/0.001488, allocations: 168.5 kB / 23.96 MB, free: 4.148 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.459/1.459, allocations: 177.1 MB / 204.3 MB, free: 9.16 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.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.008e-05/3.143e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009808/0.00984, allocations: 6.931 MB / 332 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007341/0.01718, allocations: 2.609 MB / 334.6 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001583/0.01876, allocations: 88.69 kB / 334.7 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.02033, allocations: 0.5774 MB / 335.3 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002576/0.02291, allocations: 0.7938 MB / 336.1 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.02395, allocations: 419.7 kB / 336.5 MB, free: 8.367 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00419/0.02814, allocations: 3.416 MB / 339.9 MB, free: 6.254 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002892/0.03103, allocations: 1.953 MB / 341.8 MB, free: 4.281 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005108/0.03614, allocations: 2.476 MB / 344.3 MB, free: 1.809 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003552/0.03969, allocations: 1.836 MB / 346.2 MB, free: 15.97 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008062/0.0405, allocations: 460 kB / 346.6 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.04212, allocations: 0.6518 MB / 347.3 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001383/0.0435, allocations: 1.29 MB / 348.5 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002565/0.04607, allocations: 1.357 MB / 349.9 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00793/0.054, allocations: 6.209 MB / 356.1 MB, free: 5.988 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.054, allocations: 0 / 356.1 MB, free: 5.988 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.054, allocations: 0 / 356.1 MB, free: 5.988 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001422/0.05415, allocations: 0 / 356.1 MB, free: 5.988 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.009584/0.06373, allocations: 3.782 MB / 359.9 MB, free: 2.152 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.06377, allocations: 8.031 kB / 359.9 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/0.06532, allocations: 454.5 kB / 360.3 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004803/0.07013, allocations: 2.122 MB / 362.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002897/0.07042, allocations: 218.2 kB / 362.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007653/0.07118, allocations: 292.3 kB / 363 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01077/0.08195, allocations: 4.442 MB / 367.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.594e-05/0.08201, allocations: 0 / 367.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000339/0.08235, allocations: 119.9 kB / 367.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002327/0.08258, allocations: 141.9 kB / 367.7 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007332/0.08991, allocations: 3.49 MB / 371.2 MB, free: 6.719 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01866/0.1086, allocations: 9.242 MB / 380.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002661/0.1112, allocations: 1.644 MB / 382 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002622/0.1139, allocations: 1.404 MB / 383.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002126/0.1141, allocations: 49.02 kB / 383.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.93e-05/0.1141, allocations: 47.56 kB / 383.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 3.817e-06/0.1141, allocations: 0 / 383.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=133): time 0.01027/0.1244, allocations: 5.117 MB / 388.7 MB, free: 5.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.085e-05/0.1245, allocations: 90.42 kB / 388.7 MB, free: 4.898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003149/0.1276, allocations: 1.725 MB / 390.5 MB, free: 3.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001329/0.1278, allocations: 53.7 kB / 390.5 MB, free: 3.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001148/0.1289, allocations: 1.368 MB / 391.9 MB, free: 1.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004312/0.1293, allocations: 472 kB / 392.3 MB, free: 1.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004681/0.1298, allocations: 267.5 kB / 392.6 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1299, allocations: 305.1 kB / 392.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/0.1313, allocations: 0.8121 MB / 393.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001764/0.1331, allocations: 1.208 MB / 394.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00324/0.1363, allocations: 2.082 MB / 397 MB, free: 12.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/0.1363, allocations: 4 kB / 397 MB, free: 12.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004733/0.1411, allocations: 2.512 MB / 399.5 MB, free: 9.762 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.1411, allocations: 12 kB / 399.5 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/0.1411, allocations: 8 kB / 399.5 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002074/0.1432, allocations: 479 kB / 400 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/0.1446, allocations: 327.5 kB / 400.3 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006165/0.1508, allocations: 4.215 MB / 404.5 MB, free: 4.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.1522, allocations: 91.97 kB / 404.6 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/0.1523, allocations: 52 kB / 404.7 MB, free: 4.504 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 153 * Array equations: 4 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00189/0.1542, allocations: 1.052 MB / 405.7 MB, free: 3.441 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004751/0.1547, allocations: 186.8 kB / 405.9 MB, free: 3.258 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003808/0.1585, allocations: 2.124 MB / 408 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.632e-05/0.1585, allocations: 16 kB / 408.1 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.1585, allocations: 4 kB / 408.1 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.091e-05/0.1585, allocations: 15.95 kB / 408.1 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008154/0.1667, allocations: 4.476 MB / 412.6 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-06/0.1667, allocations: 0 / 412.6 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.1677, allocations: 235.9 kB / 412.8 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001856/0.1696, allocations: 448.3 kB / 413.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.229e-05/0.1697, allocations: 35.98 kB / 413.3 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005763/0.1754, allocations: 4.11 MB / 417.4 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.1754, allocations: 3.938 kB / 417.4 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005627/0.1811, allocations: 3.228 MB / 420.6 MB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/0.1821, allocations: 370.7 kB / 421 MB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002464/0.1823, allocations: 39.92 kB / 421 MB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.1833, allocations: 91.97 kB / 421.1 MB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002508/0.1836, allocations: 104.7 kB / 421.2 MB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.973e-05/0.1837, allocations: 36 kB / 421.2 MB, free: 3.703 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001869/0.1856, allocations: 1.19 MB / 422.4 MB, free: 2.516 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1856, allocations: 0 / 422.4 MB, free: 2.516 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001698/0.1873, allocations: 0.5546 MB / 423 MB, free: 1.961 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 99 * Array equations: 4 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00058/0.1878, allocations: 234.1 kB / 423.2 MB, free: 1.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003802/0.1916, allocations: 2.114 MB / 425.3 MB, free: 15.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.1917, allocations: 384 / 425.3 MB, free: 15.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002058/0.1937, allocations: 1.159 MB / 426.5 MB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/0.1958, allocations: 412.2 kB / 426.9 MB, free: 14.03 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/0.2061, allocations: 5.727 MB / 432.6 MB, free: 8.246 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002245/0.2084, allocations: 1.876 MB / 434.5 MB, free: 6.332 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001375/0.2098, allocations: 469.9 kB / 434.9 MB, free: 5.867 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00043/0.2102, allocations: 124.5 kB / 435.1 MB, free: 5.746 MB / 398.1 MB Notification: Performance of SimCode: time 1.203e-06/0.2102, allocations: 7.938 kB / 435.1 MB, free: 5.738 MB / 398.1 MB Notification: Performance of Templates: time 0.051/0.2612, allocations: 27.5 MB / 462.6 MB, free: 10.56 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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: 5.4480124562978745]