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.001832/0.001832, allocations: 82.38 kB / 21.99 MB, free: 5.18 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.00214/0.00214, allocations: 161.8 kB / 25.25 MB, free: 3.023 MB / 14.72 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.3/1.3, allocations: 158.6 MB / 187 MB, free: 6.23 MB / 174.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 51.92 kB / 299.4 MB, free: 6.836 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2041, allocations: 49.14 MB / 348.5 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.03076/0.2349, allocations: 25.26 MB / 373.8 MB, free: 6.133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01566/0.2506, allocations: 7.297 MB / 381.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00337/0.2539, allocations: 262.6 kB / 381.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03023/0.2842, allocations: 12.96 MB / 394.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009782/0.2939, allocations: 2.964 MB / 397.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005485/0.2994, allocations: 2.086 MB / 399.4 MB, free: 12.47 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02459/0.324, allocations: 19.2 MB / 418.5 MB, free: 9.195 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04796/0.372, allocations: 28.34 MB / 446.9 MB, free: 12.63 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01559/0.3876, allocations: 10.52 MB / 457.4 MB, free: 2.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01879/0.4064, allocations: 11.35 MB / 468.8 MB, free: 6.695 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00538/0.4117, allocations: 2.973 MB / 471.7 MB, free: 3.723 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00705/0.4188, allocations: 3.222 MB / 475 MB, free: 0.5039 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.195/0.6138, allocations: 5.775 MB / 480.7 MB, free: 44.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01443/0.6282, allocations: 8.693 MB / 489.4 MB, free: 44.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02935/0.6576, allocations: 39.95 MB / 0.517 GB, free: 25.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.6576, allocations: 0 / 0.517 GB, free: 25.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.6576, allocations: 4.766 kB / 0.517 GB, free: 25.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.001027/0.6586, allocations: 0 / 0.517 GB, free: 25.46 MB / 430.1 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.0585/0.7171, allocations: 23.2 MB / 0.5396 GB, free: 11.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.7171, allocations: 11.58 kB / 0.5396 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06392/0.7811, allocations: 12.37 MB / 0.5517 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02489/0.8059, allocations: 10.79 MB / 0.5622 GB, free: 4.695 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001338/0.8073, allocations: 1.398 MB / 0.5636 GB, free: 3.312 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005949/0.8132, allocations: 1.839 MB / 0.5654 GB, free: 1.488 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06506/0.8783, allocations: 31.09 MB / 0.5958 GB, free: 2.301 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003871/0.8787, allocations: 13.83 kB / 0.5958 GB, free: 2.289 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002178/0.8809, allocations: 0.7629 MB / 0.5965 GB, free: 1.543 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001035/0.8819, allocations: 0.9646 MB / 0.5975 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05156/0.9335, allocations: 27.77 MB / 0.6246 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3223/1.256, allocations: 80.71 MB / 0.7034 GB, free: 97.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0214/1.277, allocations: 16.89 MB / 0.7199 GB, free: 97.26 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006664/1.284, allocations: 5.535 MB / 0.7253 GB, free: 96.63 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01966/1.303, allocations: 13.92 MB / 0.7389 GB, free: 89.22 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/1.303, allocations: 79.47 kB / 0.739 GB, free: 89.15 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=427): time 7.023e-06/1.303, allocations: 0 / 0.739 GB, free: 89.15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=427): time 0.02692/1.33, allocations: 13.12 MB / 0.7518 GB, free: 79.02 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/1.33, allocations: 124.4 kB / 0.7519 GB, free: 78.88 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007769/1.338, allocations: 7.642 MB / 0.7594 GB, free: 71.24 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002221/1.338, allocations: 93.7 kB / 0.7595 GB, free: 71.14 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002796/1.341, allocations: 8.872 MB / 0.7681 GB, free: 62.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008081/1.342, allocations: 1.629 MB / 0.7697 GB, free: 60.66 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002469/1.345, allocations: 2.292 MB / 0.772 GB, free: 58.36 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.732e-05/1.345, allocations: 301.1 kB / 0.7722 GB, free: 58.07 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004892/1.349, allocations: 4.71 MB / 0.7768 GB, free: 53.35 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006561/1.356, allocations: 10.43 MB / 0.787 GB, free: 40.26 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01252/1.369, allocations: 15.99 MB / 0.8026 GB, free: 22.32 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-05/1.369, allocations: 59.38 kB / 0.8027 GB, free: 22.26 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.01878/1.387, allocations: 15.98 MB / 0.8183 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.996e-05/1.387, allocations: 88.97 kB / 0.8184 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001395/1.388, allocations: 198.5 kB / 0.8186 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004821/1.392, allocations: 1.696 MB / 0.8202 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006789/1.399, allocations: 2.499 MB / 0.8227 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01503/1.414, allocations: 11.17 MB / 0.8336 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007655/1.422, allocations: 1.572 MB / 0.8351 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009117/1.423, allocations: 0.5976 MB / 0.8357 GB, free: 5.852 MB / 0.545 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.01134/1.434, allocations: 7.394 MB / 0.8429 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/1.435, allocations: 0.6441 MB / 0.8436 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01357/1.449, allocations: 8.041 MB / 0.8514 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01016/1.459, allocations: 6.451 MB / 0.8577 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-05/1.459, allocations: 12 kB / 0.8577 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.476e-05/1.459, allocations: 27.84 kB / 0.8577 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03012/1.489, allocations: 17.31 MB / 0.8746 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/1.489, allocations: 0 / 0.8746 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003383/1.493, allocations: 0.7651 MB / 0.8754 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005098/1.498, allocations: 1.449 MB / 0.8768 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002829/1.498, allocations: 95.97 kB / 0.8769 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01609/1.514, allocations: 10.78 MB / 0.8874 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/1.514, allocations: 7.938 kB / 0.8874 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2166/1.731, allocations: 11.68 MB / 0.8988 GB, free: 213 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002656/1.733, allocations: 1.296 MB / 0.9001 GB, free: 212.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006414/1.734, allocations: 74.41 kB / 0.9002 GB, free: 212.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002655/1.737, allocations: 304 kB / 0.9005 GB, free: 212.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005876/1.737, allocations: 314.8 kB / 0.9008 GB, free: 212.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002747/1.737, allocations: 125.2 kB / 0.9009 GB, free: 212.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006142/1.744, allocations: 4.773 MB / 0.9056 GB, free: 212.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/1.744, allocations: 3.812 kB / 0.9056 GB, free: 212.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009276/1.753, allocations: 4.254 MB / 0.9097 GB, free: 211 MB / 0.5919 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.0006506/1.753, allocations: 269.8 kB / 0.91 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01277/1.766, allocations: 10.52 MB / 0.9202 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.766, allocations: 3.938 kB / 0.9202 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004333/1.771, allocations: 3.665 MB / 0.9238 GB, free: 205.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005563/1.776, allocations: 1.443 MB / 0.9252 GB, free: 204.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04019/1.816, allocations: 30.4 MB / 0.9549 GB, free: 180 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01055/1.827, allocations: 11.29 MB / 0.9659 GB, free: 171.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008033/1.835, allocations: 3.963 MB / 0.9698 GB, free: 168.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/1.836, allocations: 0.4901 MB / 0.9703 GB, free: 168.4 MB / 0.5919 GB Notification: Performance of SimCode: time 8.21e-07/1.836, allocations: 0 / 0.9703 GB, free: 168.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.1292/1.965, allocations: 84.45 MB / 1.053 GB, free: 84.3 MB / 0.5919 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/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: 8.854638199089095]