Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.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.001256/0.001256, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001394/0.001394, allocations: 207.5 kB / 24.48 MB, free: 3.695 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.43/1.43, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.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.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 51.86 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2348, allocations: 53.37 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.02944/0.2643, allocations: 24.51 MB / 456.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01562/0.2799, allocations: 7.02 MB / 463.9 MB, free: 7.043 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005833/0.2857, allocations: 314.4 kB / 464.2 MB, free: 6.734 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02972/0.3155, allocations: 12.21 MB / 476.4 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01099/0.3265, allocations: 2.633 MB / 479 MB, free: 7.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006879/0.3333, allocations: 2.045 MB / 481.1 MB, free: 5.828 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02483/0.3582, allocations: 18.54 MB / 499.6 MB, free: 3.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05874/0.4169, allocations: 28.39 MB / 0.5156 GB, free: 6.613 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01738/0.4343, allocations: 10.15 MB / 0.5255 GB, free: 12.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01921/0.4535, allocations: 11.14 MB / 0.5364 GB, free: 1.277 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.3739/0.8273, allocations: 2.917 MB / 0.5393 GB, free: 39.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008083/0.8354, allocations: 3.201 MB / 0.5424 GB, free: 39.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007039/0.8425, allocations: 5.486 MB / 0.5477 GB, free: 39.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01461/0.8571, allocations: 8.374 MB / 0.5559 GB, free: 38.49 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03136/0.8884, allocations: 39.27 MB / 0.5943 GB, free: 19.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.8884, allocations: 0 / 0.5943 GB, free: 19.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.8884, allocations: 2.656 kB / 0.5943 GB, free: 19.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009337/0.8894, allocations: 0 / 0.5943 GB, free: 19.59 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.05609/0.9455, allocations: 22.25 MB / 0.616 GB, free: 2.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.9455, allocations: 8.031 kB / 0.616 GB, free: 2.562 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04508/0.9906, allocations: 8.236 MB / 0.624 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02966/1.02, allocations: 11.89 MB / 0.6357 GB, free: 14.9 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00163/1.022, allocations: 1.344 MB / 0.637 GB, free: 13.56 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006899/1.029, allocations: 1.755 MB / 0.6387 GB, free: 11.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07672/1.105, allocations: 29.01 MB / 0.667 GB, free: 14.7 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009162/1.106, allocations: 19.91 kB / 0.667 GB, free: 14.68 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005532/1.112, allocations: 0.7298 MB / 0.6677 GB, free: 13.96 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001061/1.113, allocations: 0.8453 MB / 0.6686 GB, free: 13.12 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05907/1.172, allocations: 24.77 MB / 0.6928 GB, free: 4.336 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4003/1.572, allocations: 76.08 MB / 0.7671 GB, free: 141.1 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01877/1.591, allocations: 12.78 MB / 0.7795 GB, free: 140.7 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007682/1.599, allocations: 5.04 MB / 0.7845 GB, free: 140.6 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005747/1.599, allocations: 148 kB / 0.7846 GB, free: 140.5 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.296e-05/1.599, allocations: 93.36 kB / 0.7847 GB, free: 140.5 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 1.022e-05/1.599, allocations: 0 / 0.7847 GB, free: 140.5 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.03179/1.631, allocations: 14.67 MB / 0.799 GB, free: 139.2 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/1.631, allocations: 141.1 kB / 0.7992 GB, free: 139.1 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008625/1.64, allocations: 6.494 MB / 0.8055 GB, free: 136.8 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0009597/1.641, allocations: 119 kB / 0.8056 GB, free: 136.7 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.004099/1.645, allocations: 7.891 MB / 0.8133 GB, free: 130.6 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002413/1.647, allocations: 2.111 MB / 0.8154 GB, free: 128.8 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003351/1.651, allocations: 2.112 MB / 0.8174 GB, free: 127.6 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.131e-05/1.651, allocations: 305.1 kB / 0.8177 GB, free: 127.3 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005859/1.657, allocations: 4.744 MB / 0.8224 GB, free: 124.8 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008595/1.665, allocations: 9.496 MB / 0.8316 GB, free: 115.5 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01536/1.681, allocations: 15.33 MB / 0.8466 GB, free: 97.86 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002072/1.681, allocations: 44.88 kB / 0.8467 GB, free: 97.81 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02561/1.706, allocations: 15.4 MB / 0.8617 GB, free: 82.33 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002014/1.707, allocations: 76 kB / 0.8618 GB, free: 82.25 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002454/1.707, allocations: 156 kB / 0.8619 GB, free: 82.1 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005755/1.713, allocations: 1.658 MB / 0.8635 GB, free: 80.44 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008033/1.721, allocations: 2.363 MB / 0.8658 GB, free: 78.07 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01297/1.734, allocations: 11.25 MB / 0.8768 GB, free: 66.74 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007517/1.741, allocations: 1.354 MB / 0.8781 GB, free: 65.38 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00176/1.743, allocations: 0.5429 MB / 0.8787 GB, free: 64.83 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (1243): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01196/1.755, allocations: 7.137 MB / 0.8856 GB, free: 57.68 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001779/1.757, allocations: 0.6286 MB / 0.8863 GB, free: 57.04 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01448/1.771, allocations: 10.07 MB / 0.8961 GB, free: 46.85 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009747/1.781, allocations: 7.762 MB / 0.9037 GB, free: 39.01 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.123e-05/1.781, allocations: 15.94 kB / 0.9037 GB, free: 38.99 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.481e-05/1.781, allocations: 31.88 kB / 0.9037 GB, free: 38.96 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04289/1.824, allocations: 21.77 MB / 0.925 GB, free: 17.07 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.278e-05/1.824, allocations: 8 kB / 0.925 GB, free: 17.06 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004228/1.828, allocations: 1.018 MB / 0.926 GB, free: 16.04 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00511/1.833, allocations: 1.461 MB / 0.9274 GB, free: 14.57 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000894/1.834, allocations: 132 kB / 0.9275 GB, free: 14.45 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01224/1.846, allocations: 10.8 MB / 0.9381 GB, free: 3.547 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/1.846, allocations: 11.94 kB / 0.9381 GB, free: 3.535 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0235/1.87, allocations: 14.12 MB / 0.9519 GB, free: 5.062 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005003/1.875, allocations: 1.42 MB / 0.9533 GB, free: 3.641 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002039/1.877, allocations: 112 kB / 0.9534 GB, free: 3.531 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004351/1.881, allocations: 319.6 kB / 0.9537 GB, free: 3.219 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001319/1.883, allocations: 428.2 kB / 0.9541 GB, free: 2.797 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007517/1.883, allocations: 176 kB / 0.9543 GB, free: 2.625 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.008983/1.892, allocations: 4.152 MB / 0.9583 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/1.892, allocations: 0 / 0.9583 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01439/1.907, allocations: 4.11 MB / 0.9623 GB, free: 10.38 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 1 (source.plug_p.reference.gamma) * 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 (528): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001682/1.908, allocations: 333.2 kB / 0.9627 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.2498/2.158, allocations: 10.94 MB / 0.9733 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.582e-05/2.158, allocations: 2.781 kB / 0.9733 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008168/2.166, allocations: 4.346 MB / 0.9776 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007668/2.174, allocations: 1.467 MB / 0.979 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05599/2.23, allocations: 29.18 MB / 1.008 GB, free: 186.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01796/2.248, allocations: 10.58 MB / 1.018 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002447/2.25, allocations: 0.6095 MB / 1.018 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of SimCode: time 1.062e-06/2.25, allocations: 0 / 1.018 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.5293/2.78, allocations: 289.5 MB / 1.301 GB, free: 106.1 MB / 0.5919 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.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: 21.324353479983984]