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.0008094/0.0008094, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001285/0.002095, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0008119/0.0008119, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001071/0.001883, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.9771/0.9771, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1741/1.151, allocations: 49.49 MB / 220.7 MB, free: 1.363 MB / 218.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.814e-06/1.814e-06, allocations: 0 / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.692e-05, allocations: 2.312 kB / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02115/0.02118, allocations: 27.6 MB / 249.6 MB, free: 4.328 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0187/0.03988, allocations: 7.947 MB / 257.5 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006984/0.04687, allocations: 266.6 kB / 257.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01681/0.06367, allocations: 14.04 MB / 271.8 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0118/0.07548, allocations: 3.013 MB / 274.9 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00524/0.08071, allocations: 2.084 MB / 276.9 MB, free: 8.871 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.1714/0.2521, allocations: 19.9 MB / 296.8 MB, free: 1.277 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0546/0.3067, allocations: 28.59 MB / 325.4 MB, free: 7.277 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0382/0.3449, allocations: 16.93 MB / 342.4 MB, free: 13.12 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02101/0.3659, allocations: 11.8 MB / 354.2 MB, free: 2.117 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.008223/0.3742, allocations: 2.973 MB / 357.1 MB, free: 15.14 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01179/0.386, allocations: 3.257 MB / 360.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009589/0.3956, allocations: 4.708 MB / 365.1 MB, free: 7.223 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0186/0.4141, allocations: 6.315 MB / 371.4 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02715/0.4413, allocations: 17.96 MB / 389.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.686e-05/0.4413, allocations: 0 / 389.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.4413, allocations: 0 / 389.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.001017/0.4423, allocations: 0 / 389.4 MB, free: 15.84 MB / 362.7 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.04458/0.4869, allocations: 25.47 MB / 414.9 MB, free: 7.477 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.487, allocations: 8.031 kB / 414.9 MB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05463/0.5416, allocations: 11.92 MB / 426.8 MB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01481/0.5564, allocations: 5.097 MB / 431.9 MB, free: 7.277 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001276/0.5577, allocations: 1.406 MB / 433.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00723/0.5649, allocations: 1.833 MB / 435.1 MB, free: 4.074 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2106/0.7755, allocations: 15.35 MB / 450.5 MB, free: 85.35 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008123/0.7763, allocations: 19.8 kB / 450.5 MB, free: 85.35 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005079/0.7814, allocations: 0.7627 MB / 451.2 MB, free: 85.35 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000841/0.7823, allocations: 0.9381 MB / 452.2 MB, free: 85.31 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02513/0.8074, allocations: 7.762 MB / 459.9 MB, free: 84.78 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08851/0.8959, allocations: 56.27 MB / 0.5041 GB, free: 58 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01114/0.907, allocations: 8.643 MB / 0.5126 GB, free: 49.54 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003706/0.9107, allocations: 2.28 MB / 0.5148 GB, free: 47.33 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02886/0.9396, allocations: 6.958 MB / 0.5216 GB, free: 40.65 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003054/0.9427, allocations: 77.91 kB / 0.5217 GB, free: 40.57 MB / 394.7 MB Notification: Performance of pre-optimization done (n=427): time 1.089e-05/0.9427, allocations: 0 / 0.5217 GB, free: 40.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=427): time 0.03663/0.9793, allocations: 6.547 MB / 0.528 GB, free: 34.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.9794, allocations: 102.7 kB / 0.5281 GB, free: 33.96 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00619/0.9855, allocations: 4.907 MB / 0.5329 GB, free: 30.05 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006606/0.9862, allocations: 97.7 kB / 0.533 GB, free: 29.95 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003518/0.9897, allocations: 8.306 MB / 0.5411 GB, free: 21.9 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001515/0.9912, allocations: 1.606 MB / 0.5427 GB, free: 20.38 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002068/0.9933, allocations: 2.078 MB / 0.5447 GB, free: 18.51 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 2.927e-05/0.9933, allocations: 303.4 kB / 0.545 GB, free: 18.21 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/0.995, allocations: 1.485 MB / 0.5465 GB, free: 16.72 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002581/0.9975, allocations: 6.729 MB / 0.5531 GB, free: 7.633 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00717/1.005, allocations: 9.831 MB / 0.5627 GB, free: 12.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002004/1.005, allocations: 56 kB / 0.5627 GB, free: 12.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.01211/1.017, allocations: 7.374 MB / 0.5699 GB, free: 5.957 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/1.017, allocations: 92.03 kB / 0.57 GB, free: 5.867 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001954/1.017, allocations: 199.8 kB / 0.5702 GB, free: 5.676 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003432/1.021, allocations: 1.579 MB / 0.5717 GB, free: 4.109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004982/1.026, allocations: 2.599 MB / 0.5743 GB, free: 1.711 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1465/1.172, allocations: 5.595 MB / 0.5797 GB, free: 82.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00716/1.179, allocations: 1.347 MB / 0.581 GB, free: 82.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002339/1.182, allocations: 0.5012 MB / 0.5815 GB, free: 82.52 MB / 410.7 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.005709/1.187, allocations: 0.9115 MB / 0.5824 GB, free: 82.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001216/1.189, allocations: 490.4 kB / 0.5829 GB, free: 82.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005308/1.194, allocations: 3.2 MB / 0.586 GB, free: 82.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002222/1.196, allocations: 1.834 MB / 0.5878 GB, free: 82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/1.196, allocations: 12.97 kB / 0.5878 GB, free: 82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.125e-05/1.196, allocations: 26.67 kB / 0.5878 GB, free: 82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01858/1.215, allocations: 10.71 MB / 0.5983 GB, free: 81.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/1.215, allocations: 0 / 0.5983 GB, free: 81.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001798/1.217, allocations: 0.7089 MB / 0.599 GB, free: 81.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001989/1.219, allocations: 0.7526 MB / 0.5997 GB, free: 81.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002771/1.221, allocations: 1.337 MB / 0.601 GB, free: 81.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001863/1.222, allocations: 89.3 kB / 0.6011 GB, free: 81.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004797/1.226, allocations: 5.141 MB / 0.6061 GB, free: 79.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/1.226, allocations: 7.312 kB / 0.6061 GB, free: 79.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004692/1.231, allocations: 3.557 MB / 0.6096 GB, free: 79.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001053/1.232, allocations: 73.31 kB / 0.6097 GB, free: 79.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/1.234, allocations: 127.9 kB / 0.6098 GB, free: 79.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004929/1.234, allocations: 303.9 kB / 0.6101 GB, free: 79.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001813/1.234, allocations: 82.83 kB / 0.6102 GB, free: 79.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002685/1.237, allocations: 2.124 MB / 0.6123 GB, free: 79.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.237, allocations: 0 / 0.6123 GB, free: 79.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.009597/1.246, allocations: 4.254 MB / 0.6164 GB, free: 78.09 MB / 410.7 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.001049/1.248, allocations: 265 kB / 0.6167 GB, free: 78.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007896/1.255, allocations: 5.366 MB / 0.6219 GB, free: 77.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0003807/1.256, allocations: 181.6 kB / 0.6221 GB, free: 77.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003231/1.259, allocations: 2.756 MB / 0.6248 GB, free: 77.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006281/1.265, allocations: 11.64 MB / 0.6361 GB, free: 66.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09748/1.363, allocations: 27.1 MB / 0.6626 GB, free: 45.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005565/1.368, allocations: 3.569 MB / 0.6661 GB, free: 42.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003944/1.372, allocations: 1.095 MB / 0.6671 GB, free: 41.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002133/1.374, allocations: 1.245 MB / 0.6684 GB, free: 40.85 MB / 410.7 MB Notification: Performance of SimCode: time 3.126e-06/1.374, allocations: 0 / 0.6684 GB, free: 40.85 MB / 410.7 MB Notification: Performance of Templates: time 0.2641/1.639, allocations: 90.84 MB / 0.7571 GB, free: 120 MB / 442.7 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.711259306408465]