Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.000809/0.000809, 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.0007926/0.0007926, allocations: 157.1 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.7852/0.7852, allocations: 158.6 MB / 187.2 MB, free: 3.031 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.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 299.7 MB, free: 3.008 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.19e-05, allocations: 2.281 kB / 299.7 MB, free: 3.004 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.1542/0.1542, allocations: 25.29 MB / 325 MB, free: 196 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01882/0.173, allocations: 7.284 MB / 332.3 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008385/0.1814, allocations: 270.9 kB / 332.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01606/0.1974, allocations: 13 MB / 345.5 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01174/0.2092, allocations: 3.028 MB / 348.6 MB, free: 13.54 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005414/0.2146, allocations: 2.098 MB / 350.7 MB, free: 11.45 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01984/0.2344, allocations: 19.77 MB / 370.4 MB, free: 7.602 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05081/0.2853, allocations: 28.4 MB / 398.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03104/0.3163, allocations: 15.58 MB / 414.4 MB, free: 11.38 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01867/0.335, allocations: 10.24 MB / 424.6 MB, free: 1.117 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.008987/0.344, allocations: 2.973 MB / 427.6 MB, free: 14.14 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01135/0.3553, allocations: 3.249 MB / 430.9 MB, free: 10.89 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008678/0.364, allocations: 5.876 MB / 436.7 MB, free: 5.004 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01582/0.3798, allocations: 7.501 MB / 444.2 MB, free: 13.49 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.353/0.7328, allocations: 40.17 MB / 484.4 MB, free: 61.51 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.7328, allocations: 1.594 kB / 484.4 MB, free: 61.51 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.224e-06/0.7328, allocations: 0 / 484.4 MB, free: 61.51 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.001371/0.7342, allocations: 3.859 kB / 484.4 MB, free: 61.51 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.06832/0.8025, allocations: 23.01 MB / 0.4955 GB, free: 49.21 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.8025, allocations: 11.7 kB / 0.4956 GB, free: 49.21 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03764/0.8402, allocations: 12.38 MB / 0.5076 GB, free: 43.15 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02452/0.8647, allocations: 10.78 MB / 0.5182 GB, free: 32.86 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00109/0.8658, allocations: 1.409 MB / 0.5195 GB, free: 31.46 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01096/0.8768, allocations: 1.837 MB / 0.5213 GB, free: 29.64 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08062/0.9574, allocations: 31.1 MB / 0.5517 GB, free: 14.46 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007817/0.9582, allocations: 15.95 kB / 0.5517 GB, free: 14.44 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009169/0.9673, allocations: 0.7574 MB / 0.5525 GB, free: 13.7 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000796/0.9681, allocations: 0.9724 MB / 0.5534 GB, free: 12.72 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05838/1.027, allocations: 27.76 MB / 0.5805 GB, free: 0.9219 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3755/1.402, allocations: 80.72 MB / 0.6594 GB, free: 99.35 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01719/1.419, allocations: 16.89 MB / 0.6758 GB, free: 98.84 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006562/1.426, allocations: 5.54 MB / 0.6813 GB, free: 98.73 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02/1.446, allocations: 13.91 MB / 0.6948 GB, free: 93.86 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/1.446, allocations: 77.38 kB / 0.6949 GB, free: 93.79 MB / 490.8 MB Notification: Performance of pre-optimization done (n=427): time 6.542e-06/1.446, allocations: 0 / 0.6949 GB, free: 93.79 MB / 490.8 MB Notification: Performance of matching and sorting (n=427): time 0.01934/1.465, allocations: 13.12 MB / 0.7077 GB, free: 84.36 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/1.465, allocations: 132.5 kB / 0.7078 GB, free: 84.21 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01184/1.477, allocations: 7.636 MB / 0.7153 GB, free: 76.66 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00109/1.478, allocations: 97.7 kB / 0.7154 GB, free: 76.56 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004669/1.483, allocations: 8.826 MB / 0.724 GB, free: 67.74 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002296/1.485, allocations: 1.616 MB / 0.7256 GB, free: 66.14 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003935/1.489, allocations: 2.253 MB / 0.7278 GB, free: 63.88 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.433e-05/1.489, allocations: 305.1 kB / 0.7281 GB, free: 63.58 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005415/1.495, allocations: 4.706 MB / 0.7327 GB, free: 58.87 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007093/1.502, allocations: 10.42 MB / 0.7429 GB, free: 45.79 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01383/1.515, allocations: 15.99 MB / 0.7585 GB, free: 27.84 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002153/1.516, allocations: 60 kB / 0.7585 GB, free: 27.78 MB / 490.8 MB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.02464/1.54, allocations: 15.98 MB / 0.7741 GB, free: 13 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001305/1.54, allocations: 88 kB / 0.7742 GB, free: 12.91 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002762/1.541, allocations: 196 kB / 0.7744 GB, free: 12.72 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003208/1.544, allocations: 1.702 MB / 0.7761 GB, free: 11.02 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006121/1.55, allocations: 2.501 MB / 0.7785 GB, free: 8.719 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/1.561, allocations: 11.16 MB / 0.7894 GB, free: 13.56 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009568/1.57, allocations: 1.572 MB / 0.791 GB, free: 11.98 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002989/1.573, allocations: 0.6015 MB / 0.7915 GB, free: 11.38 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * 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 (1312): * Single equations (assignments): 1309 * 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.01497/1.588, allocations: 7.396 MB / 0.7988 GB, free: 4.168 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001432/1.59, allocations: 0.6403 MB / 0.7994 GB, free: 3.523 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01098/1.601, allocations: 8.048 MB / 0.8073 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007092/1.608, allocations: 6.452 MB / 0.8136 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.736e-05/1.608, allocations: 12 kB / 0.8136 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.963e-05/1.608, allocations: 19.92 kB / 0.8136 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03539/1.643, allocations: 17.31 MB / 0.8305 GB, free: 3.805 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/1.643, allocations: 2.734 kB / 0.8305 GB, free: 3.805 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001801/1.645, allocations: 0.7666 MB / 0.8312 GB, free: 3.074 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002878/1.648, allocations: 1.45 MB / 0.8327 GB, free: 1.617 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003392/1.648, allocations: 91.98 kB / 0.8327 GB, free: 1.527 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.243/1.891, allocations: 10.78 MB / 0.8433 GB, free: 191.2 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/1.891, allocations: 2.625 kB / 0.8433 GB, free: 191.2 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01207/1.903, allocations: 11.69 MB / 0.8547 GB, free: 188.6 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002929/1.906, allocations: 1.29 MB / 0.8559 GB, free: 188 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008879/1.907, allocations: 79.03 kB / 0.856 GB, free: 187.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001647/1.909, allocations: 301.3 kB / 0.8563 GB, free: 187.9 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005798/1.909, allocations: 311.3 kB / 0.8566 GB, free: 187.8 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001946/1.909, allocations: 130.4 kB / 0.8567 GB, free: 187.8 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.006753/1.916, allocations: 4.778 MB / 0.8614 GB, free: 186.1 MB / 0.5262 GB Notification: Performance of sort global known variables: time 2.11e-07/1.916, allocations: 0 / 0.8614 GB, free: 186.1 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01276/1.929, allocations: 4.254 MB / 0.8655 GB, free: 184.7 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (381): * Single equations (assignments): 378 * 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.001399/1.93, allocations: 272 kB / 0.8658 GB, free: 184.5 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01286/1.943, allocations: 10.52 MB / 0.8761 GB, free: 180.6 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/1.943, allocations: 1.438 kB / 0.8761 GB, free: 180.6 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.004479/1.948, allocations: 3.666 MB / 0.8797 GB, free: 177.5 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005768/1.954, allocations: 1.436 MB / 0.8811 GB, free: 176.3 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05/2.004, allocations: 29.75 MB / 0.9101 GB, free: 149.3 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01724/2.021, allocations: 10.92 MB / 0.9208 GB, free: 140.9 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00206/2.023, allocations: 0.5826 MB / 0.9214 GB, free: 140.4 MB / 0.5262 GB Notification: Performance of SimCode: time 1.723e-06/2.023, allocations: 0 / 0.9214 GB, free: 140.4 MB / 0.5262 GB Notification: Performance of Templates: time 0.4231/2.446, allocations: 295.3 MB / 1.21 GB, free: 75.98 MB / 0.5262 GB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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: 14.643247889354825]