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.00101/0.00101, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001665/0.002675, allocations: 445.7 kB / 10.37 MB, free: 328 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.001412/0.001412, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001513/0.002925, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.9395/0.9395, allocations: 158.6 MB / 171.1 MB, free: 2.574 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.145/1.085, allocations: 49.48 MB / 220.5 MB, free: 1.457 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 9.82e-07/9.82e-07, allocations: 0 / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.311e-05/1.409e-05, allocations: 6.25 kB / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02198/0.022, allocations: 27.59 MB / 249.4 MB, free: 4.445 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01638/0.03838, allocations: 7.955 MB / 257.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006258/0.04464, allocations: 266.6 kB / 257.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01531/0.05994, allocations: 14.05 MB / 271.7 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009341/0.06928, allocations: 3.009 MB / 274.7 MB, free: 11.06 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003871/0.07315, allocations: 2.086 MB / 276.8 MB, free: 8.977 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.1528/0.226, allocations: 19.89 MB / 296.7 MB, free: 1.266 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04354/0.2695, allocations: 28.6 MB / 325.3 MB, free: 7.312 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04107/0.3106, allocations: 16.92 MB / 342.2 MB, free: 13.22 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0181/0.3287, allocations: 11.81 MB / 354 MB, free: 2.207 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.008043/0.3367, allocations: 2.973 MB / 357 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01026/0.347, allocations: 3.254 MB / 360.2 MB, free: 12.02 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006771/0.3538, allocations: 4.712 MB / 364.9 MB, free: 7.312 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01321/0.367, allocations: 6.311 MB / 371.3 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01939/0.3863, allocations: 18.02 MB / 389.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.405e-05/0.3864, allocations: 0 / 389.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3864, allocations: 0 / 389.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0009209/0.3873, allocations: 0 / 389.3 MB, free: 15.88 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.03737/0.4247, allocations: 25.47 MB / 414.7 MB, free: 7.512 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.4247, allocations: 8.031 kB / 414.8 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02966/0.4544, allocations: 11.94 MB / 426.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01196/0.4663, allocations: 5.102 MB / 431.8 MB, free: 7.297 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008146/0.4671, allocations: 1.402 MB / 433.2 MB, free: 5.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0031/0.4702, allocations: 1.834 MB / 435 MB, free: 4.094 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2866/0.7568, allocations: 15.34 MB / 450.4 MB, free: 84.17 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003694/0.7572, allocations: 19.69 kB / 450.4 MB, free: 84.17 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002079/0.7592, allocations: 0.7624 MB / 451.2 MB, free: 84.17 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005427/0.7598, allocations: 0.9731 MB / 452.1 MB, free: 84.12 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01483/0.7746, allocations: 7.757 MB / 459.9 MB, free: 83.59 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07868/0.8533, allocations: 56.27 MB / 0.5041 GB, free: 57.49 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008378/0.8617, allocations: 8.649 MB / 0.5125 GB, free: 49.02 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002571/0.8642, allocations: 2.283 MB / 0.5147 GB, free: 46.82 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01237/0.8766, allocations: 6.949 MB / 0.5215 GB, free: 40.14 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.512e-05/0.8767, allocations: 77.91 kB / 0.5216 GB, free: 40.05 MB / 394.8 MB Notification: Performance of pre-optimization done (n=427): time 6.091e-06/0.8767, allocations: 0 / 0.5216 GB, free: 40.05 MB / 394.8 MB Notification: Performance of matching and sorting (n=427): time 0.0152/0.8919, allocations: 6.554 MB / 0.528 GB, free: 33.55 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.8919, allocations: 94.75 kB / 0.5281 GB, free: 33.45 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005076/0.897, allocations: 4.911 MB / 0.5329 GB, free: 29.54 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002039/0.8972, allocations: 93.7 kB / 0.533 GB, free: 29.44 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002583/0.8998, allocations: 8.308 MB / 0.5411 GB, free: 21.39 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008244/0.9006, allocations: 1.614 MB / 0.5427 GB, free: 19.86 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002061/0.9027, allocations: 2.077 MB / 0.5447 GB, free: 17.99 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 2.369e-05/0.9027, allocations: 304.3 kB / 0.545 GB, free: 17.7 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001991/0.9047, allocations: 1.485 MB / 0.5464 GB, free: 16.21 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003315/0.908, allocations: 6.728 MB / 0.553 GB, free: 7.117 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007599/0.9156, allocations: 9.14 MB / 0.5619 GB, free: 12.32 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001136/0.9157, allocations: 59.98 kB / 0.562 GB, free: 12.26 MB / 410.8 MB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.01127/0.927, allocations: 7.374 MB / 0.5692 GB, free: 6.18 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.9271, allocations: 88 kB / 0.5693 GB, free: 6.094 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002653/0.9273, allocations: 200 kB / 0.5695 GB, free: 5.898 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004006/0.9314, allocations: 1.568 MB / 0.571 GB, free: 4.344 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006361/0.9377, allocations: 2.592 MB / 0.5735 GB, free: 1.953 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1677/1.105, allocations: 5.602 MB / 0.579 GB, free: 81.98 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005935/1.111, allocations: 1.348 MB / 0.5803 GB, free: 81.98 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000839/1.112, allocations: 0.5012 MB / 0.5808 GB, free: 81.98 MB / 410.8 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.003463/1.116, allocations: 0.9072 MB / 0.5817 GB, free: 81.86 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00109/1.117, allocations: 491.6 kB / 0.5822 GB, free: 81.86 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004842/1.122, allocations: 3.202 MB / 0.5853 GB, free: 81.62 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002001/1.124, allocations: 1.838 MB / 0.5871 GB, free: 81.46 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/1.124, allocations: 10.31 kB / 0.5871 GB, free: 81.46 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.077e-05/1.124, allocations: 19.72 kB / 0.5871 GB, free: 81.46 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/1.137, allocations: 10.72 MB / 0.5976 GB, free: 80.77 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/1.137, allocations: 3.281 kB / 0.5976 GB, free: 80.77 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/1.139, allocations: 0.7033 MB / 0.5983 GB, free: 80.77 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001488/1.14, allocations: 0.7571 MB / 0.599 GB, free: 80.7 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002601/1.143, allocations: 1.319 MB / 0.6003 GB, free: 80.64 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001575/1.143, allocations: 84.14 kB / 0.6004 GB, free: 80.64 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004511/1.147, allocations: 5.141 MB / 0.6054 GB, free: 79.27 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.147, allocations: 3.938 kB / 0.6054 GB, free: 79.26 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004217/1.152, allocations: 3.534 MB / 0.6088 GB, free: 78.82 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006776/1.152, allocations: 77.7 kB / 0.6089 GB, free: 78.82 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/1.153, allocations: 130.7 kB / 0.609 GB, free: 78.82 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003341/1.154, allocations: 299.2 kB / 0.6093 GB, free: 78.81 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001705/1.154, allocations: 86.05 kB / 0.6094 GB, free: 78.81 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.00171/1.156, allocations: 2.123 MB / 0.6115 GB, free: 78.64 MB / 410.8 MB Notification: Performance of sort global known variables: time 9e-08/1.156, allocations: 0 / 0.6115 GB, free: 78.64 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.007155/1.163, allocations: 4.255 MB / 0.6156 GB, free: 77.57 MB / 410.8 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.0005238/1.163, allocations: 271.8 kB / 0.6159 GB, free: 77.48 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.005247/1.168, allocations: 5.175 MB / 0.6209 GB, free: 76.99 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002424/1.169, allocations: 181.5 kB / 0.6211 GB, free: 76.94 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001642/1.17, allocations: 1.857 MB / 0.6229 GB, free: 76.66 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003214/1.174, allocations: 1.958 MB / 0.6248 GB, free: 76.46 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1185/1.292, allocations: 27.1 MB / 0.6513 GB, free: 57.25 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00438/1.296, allocations: 3.592 MB / 0.6548 GB, free: 54.85 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.003592/1.3, allocations: 1.161 MB / 0.656 GB, free: 53.94 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002033/1.302, allocations: 1.338 MB / 0.6573 GB, free: 52.73 MB / 410.8 MB Notification: Performance of SimCode: time 1.923e-06/1.302, allocations: 0 / 0.6573 GB, free: 52.73 MB / 410.8 MB Notification: Performance of Templates: time 0.2756/1.578, allocations: 96.51 MB / 0.7515 GB, free: 120.4 MB / 442.8 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.052642318420112]