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.0009634/0.0009634, allocations: 85.08 kB / 23 MB, free: 1.504 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.0009735/0.0009735, allocations: 177.8 kB / 26.39 MB, free: 8.008 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 1.035/1.035, allocations: 158.6 MB / 188.3 MB, free: 2.785 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.573e-06/1.573e-06, allocations: 0 / 252.3 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/2.998e-05, allocations: 6.25 kB / 252.3 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02266/0.02269, allocations: 27.38 MB / 279.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01499/0.03768, allocations: 7.398 MB / 287 MB, free: 4.301 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005143/0.04282, allocations: 262.6 kB / 287.3 MB, free: 4.043 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01532/0.05814, allocations: 13.7 MB / 301 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01077/0.06891, allocations: 3.044 MB / 304 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004405/0.07332, allocations: 2.086 MB / 306.1 MB, free: 1.133 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.02099/0.09431, allocations: 19.79 MB / 325.9 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04946/0.1438, allocations: 28.44 MB / 354.4 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2987/0.4425, allocations: 15.73 MB / 370.1 MB, free: 33.9 MB / 330.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01736/0.4598, allocations: 11.68 MB / 381.8 MB, free: 33.9 MB / 330.8 MB Notification: Performance of NFPackage.collectConstants: time 0.007141/0.467, allocations: 2.973 MB / 384.7 MB, free: 33.9 MB / 330.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006328/0.4733, allocations: 3.244 MB / 388 MB, free: 33.9 MB / 330.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003467/0.4768, allocations: 5.981 MB / 394 MB, free: 32.27 MB / 330.8 MB Notification: Performance of NFVerifyModel.verify: time 0.007506/0.4843, allocations: 7.598 MB / 401.6 MB, free: 27.95 MB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01603/0.5003, allocations: 18.98 MB / 420.5 MB, free: 11.8 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.5003, allocations: 0 / 420.5 MB, free: 11.8 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.784e-06/0.5003, allocations: 3.984 kB / 420.6 MB, free: 11.8 MB / 330.8 MB Notification: Performance of Transformations before backend: time 0.0006941/0.501, allocations: 0 / 420.6 MB, free: 11.8 MB / 330.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.03761/0.5386, allocations: 23.54 MB / 444.1 MB, free: 5.238 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.5387, allocations: 15.98 kB / 444.1 MB, free: 5.223 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04204/0.5807, allocations: 11.3 MB / 455.4 MB, free: 10.05 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01572/0.5964, allocations: 8.885 MB / 464.3 MB, free: 1.602 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008953/0.5973, allocations: 1.397 MB / 465.7 MB, free: 224 kB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004424/0.6017, allocations: 1.836 MB / 467.5 MB, free: 14.4 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03718/0.6389, allocations: 14.97 MB / 482.5 MB, free: 136 kB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006824/0.6396, allocations: 18.98 kB / 482.5 MB, free: 120 kB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004763/0.6444, allocations: 0.7613 MB / 483.3 MB, free: 15.38 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007867/0.6451, allocations: 0.9703 MB / 484.2 MB, free: 14.41 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02486/0.67, allocations: 6.64 MB / 490.9 MB, free: 7.73 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4005/1.07, allocations: 73.44 MB / 0.5511 GB, free: 55.82 MB / 394.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0102/1.081, allocations: 12.73 MB / 0.5635 GB, free: 51.21 MB / 394.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002573/1.083, allocations: 2.518 MB / 0.566 GB, free: 48.75 MB / 394.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01172/1.095, allocations: 8.611 MB / 0.5744 GB, free: 40.69 MB / 394.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/1.095, allocations: 80.73 kB / 0.5745 GB, free: 40.6 MB / 394.9 MB Notification: Performance of pre-optimization done (n=427): time 5.931e-06/1.095, allocations: 0 / 0.5745 GB, free: 40.6 MB / 394.9 MB Notification: Performance of matching and sorting (n=427): time 0.01371/1.109, allocations: 7.421 MB / 0.5817 GB, free: 33.21 MB / 394.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/1.109, allocations: 128.3 kB / 0.5818 GB, free: 33.07 MB / 394.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006543/1.115, allocations: 7.152 MB / 0.5888 GB, free: 27.19 MB / 394.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0002355/1.116, allocations: 93.7 kB / 0.5889 GB, free: 27.09 MB / 394.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.00349/1.119, allocations: 9.416 MB / 0.5981 GB, free: 19.39 MB / 394.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008722/1.12, allocations: 1.691 MB / 0.5998 GB, free: 17.85 MB / 394.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00289/1.123, allocations: 2.645 MB / 0.6024 GB, free: 15.41 MB / 394.9 MB Notification: Performance of setup shared object (initialization): time 4.399e-05/1.123, allocations: 480.7 kB / 0.6028 GB, free: 14.93 MB / 394.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001535/1.124, allocations: 1.091 MB / 0.6039 GB, free: 13.84 MB / 394.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003661/1.128, allocations: 9.789 MB / 0.6134 GB, free: 0.6445 MB / 394.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009696/1.138, allocations: 12.04 MB / 0.6252 GB, free: 1.906 MB / 410.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001563/1.138, allocations: 56 kB / 0.6252 GB, free: 1.852 MB / 410.9 MB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.01422/1.152, allocations: 8.911 MB / 0.6339 GB, free: 10.23 MB / 426.9 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/1.152, allocations: 92 kB / 0.634 GB, free: 10.14 MB / 426.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002273/1.152, allocations: 196 kB / 0.6342 GB, free: 9.953 MB / 426.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00452/1.157, allocations: 1.621 MB / 0.6358 GB, free: 8.348 MB / 426.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005512/1.163, allocations: 2.325 MB / 0.6381 GB, free: 6.223 MB / 426.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1511/1.314, allocations: 6.932 MB / 0.6448 GB, free: 91.21 MB / 426.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009866/1.324, allocations: 1.345 MB / 0.6462 GB, free: 91.21 MB / 426.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002158/1.326, allocations: 0.522 MB / 0.6467 GB, free: 91.21 MB / 426.9 MB 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.007433/1.333, allocations: 0.9525 MB / 0.6476 GB, free: 91.05 MB / 426.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001739/1.335, allocations: 0.774 MB / 0.6484 GB, free: 91.05 MB / 426.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006279/1.341, allocations: 3.834 MB / 0.6521 GB, free: 90.81 MB / 426.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003083/1.344, allocations: 2.445 MB / 0.6545 GB, free: 90.63 MB / 426.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-05/1.344, allocations: 12 kB / 0.6545 GB, free: 90.63 MB / 426.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.905e-05/1.344, allocations: 23.25 kB / 0.6545 GB, free: 90.63 MB / 426.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0225/1.367, allocations: 15.42 MB / 0.6696 GB, free: 89.82 MB / 426.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/1.367, allocations: 5.656 kB / 0.6696 GB, free: 89.82 MB / 426.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001544/1.368, allocations: 0.616 MB / 0.6702 GB, free: 89.82 MB / 426.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003161/1.371, allocations: 1.364 MB / 0.6715 GB, free: 89.79 MB / 426.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002754/1.372, allocations: 95.72 kB / 0.6716 GB, free: 89.79 MB / 426.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005942/1.378, allocations: 6.573 MB / 0.678 GB, free: 87.67 MB / 426.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.378, allocations: 3.875 kB / 0.678 GB, free: 87.67 MB / 426.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007395/1.385, allocations: 4.454 MB / 0.6824 GB, free: 86.79 MB / 426.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00258/1.388, allocations: 1.056 MB / 0.6834 GB, free: 86.43 MB / 426.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001007/1.389, allocations: 82.53 kB / 0.6835 GB, free: 86.43 MB / 426.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/1.39, allocations: 125.2 kB / 0.6836 GB, free: 86.43 MB / 426.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006002/1.391, allocations: 314.5 kB / 0.6839 GB, free: 86.42 MB / 426.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001912/1.391, allocations: 93.02 kB / 0.684 GB, free: 86.42 MB / 426.9 MB Notification: Performance of sorting global known variables: time 0.003408/1.394, allocations: 2.764 MB / 0.6867 GB, free: 86.16 MB / 426.9 MB Notification: Performance of sort global known variables: time 1.8e-07/1.394, allocations: 0 / 0.6867 GB, free: 86.16 MB / 426.9 MB Notification: Performance of remove unused functions: time 0.009086/1.403, allocations: 4.254 MB / 0.6909 GB, free: 85.21 MB / 426.9 MB 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.0008008/1.404, allocations: 271.4 kB / 0.6911 GB, free: 85.06 MB / 426.9 MB Notification: Performance of simCode: created initialization part: time 0.007569/1.412, allocations: 6.033 MB / 0.697 GB, free: 81.11 MB / 426.9 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/1.412, allocations: 0 / 0.697 GB, free: 81.11 MB / 426.9 MB Notification: Performance of simCode: created simulation system equations: time 0.002475/1.414, allocations: 2.147 MB / 0.6991 GB, free: 79.66 MB / 426.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004842/1.419, allocations: 1.478 MB / 0.7005 GB, free: 78.82 MB / 426.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03709/1.456, allocations: 25.27 MB / 0.7252 GB, free: 58.57 MB / 426.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007934/1.464, allocations: 5.041 MB / 0.7301 GB, free: 55.23 MB / 426.9 MB Notification: Performance of simCode: alias equations: time 0.00389/1.468, allocations: 1.166 MB / 0.7313 GB, free: 54.05 MB / 426.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002306/1.47, allocations: 1.477 MB / 0.7327 GB, free: 52.57 MB / 426.9 MB Notification: Performance of SimCode: time 1.853e-06/1.47, allocations: 0 / 0.7327 GB, free: 52.57 MB / 426.9 MB Notification: Performance of Templates: time 0.2774/1.748, allocations: 93.34 MB / 0.8239 GB, free: 129.4 MB / 458.9 MB " [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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.6677569299936295]