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.000979/0.000979, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.0009664/0.0009664, allocations: 164 kB / 25.75 MB, free: 8.945 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.8766/0.8766, allocations: 158.6 MB / 187.5 MB, free: 2.934 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.502e-06/1.502e-06, allocations: 0 / 251.1 MB, free: 7.789 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.183e-05, allocations: 2.312 kB / 251.1 MB, free: 7.785 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02083/0.02085, allocations: 28.35 MB / 279.5 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01326/0.03411, allocations: 7.414 MB / 286.9 MB, free: 3.871 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004699/0.03881, allocations: 262.6 kB / 287.1 MB, free: 3.613 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01619/0.055, allocations: 14.08 MB / 301.2 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01015/0.06515, allocations: 3.036 MB / 304.2 MB, free: 2.422 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004707/0.06985, allocations: 2.117 MB / 306.4 MB, free: 312 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.02188/0.09173, allocations: 19.76 MB / 326.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3116/0.4033, allocations: 28.43 MB / 354.6 MB, free: 29.74 MB / 330.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02797/0.4313, allocations: 15.75 MB / 370.3 MB, free: 29.73 MB / 330.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01797/0.4492, allocations: 11.41 MB / 381.7 MB, free: 29.73 MB / 330.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01002/0.4593, allocations: 2.975 MB / 384.7 MB, free: 29.73 MB / 330.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01313/0.4724, allocations: 3.246 MB / 387.9 MB, free: 29.73 MB / 330.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01153/0.4839, allocations: 5.981 MB / 393.9 MB, free: 27.52 MB / 330.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01479/0.4987, allocations: 7.6 MB / 401.5 MB, free: 24.51 MB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02466/0.5234, allocations: 18.97 MB / 420.5 MB, free: 8.684 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.5234, allocations: 0.8125 kB / 420.5 MB, free: 8.684 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5234, allocations: 0 / 420.5 MB, free: 8.684 MB / 330.8 MB Notification: Performance of Transformations before backend: time 0.0009418/0.5243, allocations: 4.812 kB / 420.5 MB, free: 8.68 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.04708/0.5714, allocations: 24.88 MB / 445.4 MB, free: 15.88 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.5714, allocations: 15.98 kB / 445.4 MB, free: 15.86 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04714/0.6186, allocations: 15.35 MB / 460.7 MB, free: 0.6367 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01909/0.6377, allocations: 9.754 MB / 470.5 MB, free: 7.312 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001482/0.6392, allocations: 1.398 MB / 471.9 MB, free: 5.93 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005986/0.6451, allocations: 1.835 MB / 473.7 MB, free: 4.109 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05569/0.7008, allocations: 16.31 MB / 490 MB, free: 3.703 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006793/0.7015, allocations: 11.94 kB / 490.1 MB, free: 3.691 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004576/0.7061, allocations: 0.7635 MB / 490.8 MB, free: 2.945 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008161/0.7069, allocations: 0.9698 MB / 491.8 MB, free: 1.977 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03707/0.744, allocations: 8.462 MB / 0.4885 GB, free: 9.488 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3668/1.111, allocations: 74.77 MB / 0.5615 GB, free: 67.36 MB / 410.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01395/1.125, allocations: 14.5 MB / 0.5757 GB, free: 63.92 MB / 410.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003859/1.129, allocations: 2.836 MB / 0.5785 GB, free: 61.37 MB / 410.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01362/1.142, allocations: 9.277 MB / 0.5875 GB, free: 52.52 MB / 410.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.305e-05/1.142, allocations: 80.73 kB / 0.5876 GB, free: 52.43 MB / 410.9 MB Notification: Performance of pre-optimization done (n=427): time 6.692e-06/1.142, allocations: 0 / 0.5876 GB, free: 52.43 MB / 410.9 MB Notification: Performance of matching and sorting (n=427): time 0.01545/1.158, allocations: 7.989 MB / 0.5954 GB, free: 44.47 MB / 410.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/1.158, allocations: 128.4 kB / 0.5955 GB, free: 44.32 MB / 410.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007218/1.165, allocations: 7.265 MB / 0.6026 GB, free: 37.32 MB / 410.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0005632/1.166, allocations: 93.7 kB / 0.6027 GB, free: 37.23 MB / 410.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.004039/1.17, allocations: 9.385 MB / 0.6119 GB, free: 29.3 MB / 410.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.001526/1.171, allocations: 1.686 MB / 0.6135 GB, free: 27.7 MB / 410.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002304/1.173, allocations: 2.611 MB / 0.6161 GB, free: 25.07 MB / 410.9 MB Notification: Performance of setup shared object (initialization): time 3.834e-05/1.173, allocations: 480.7 kB / 0.6165 GB, free: 24.6 MB / 410.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002247/1.176, allocations: 1.407 MB / 0.6179 GB, free: 23.19 MB / 410.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004315/1.18, allocations: 10.06 MB / 0.6277 GB, free: 9.445 MB / 410.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009848/1.19, allocations: 12.5 MB / 0.6399 GB, free: 9.969 MB / 426.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002507/1.19, allocations: 56 kB / 0.64 GB, free: 9.914 MB / 426.9 MB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.01825/1.208, allocations: 9.701 MB / 0.6495 GB, free: 1.5 MB / 426.9 MB Notification: Performance of prepare postOptimizeDAE: time 9.906e-05/1.208, allocations: 92 kB / 0.6496 GB, free: 1.41 MB / 426.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001968/1.209, allocations: 196 kB / 0.6497 GB, free: 1.219 MB / 426.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1698/1.378, allocations: 1.643 MB / 0.6513 GB, free: 91.56 MB / 426.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006301/1.385, allocations: 2.504 MB / 0.6538 GB, free: 91.56 MB / 426.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007611/1.392, allocations: 7.275 MB / 0.6609 GB, free: 89.54 MB / 426.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006146/1.399, allocations: 1.568 MB / 0.6624 GB, free: 89.54 MB / 426.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007764/1.399, allocations: 0.6046 MB / 0.663 GB, free: 89.54 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.004493/1.404, allocations: 0.9477 MB / 0.6639 GB, free: 89.38 MB / 426.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009029/1.405, allocations: 0.7821 MB / 0.6647 GB, free: 89.38 MB / 426.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005548/1.41, allocations: 4.276 MB / 0.6689 GB, free: 89.11 MB / 426.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00405/1.414, allocations: 2.837 MB / 0.6717 GB, free: 88.93 MB / 426.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-05/1.414, allocations: 11.34 kB / 0.6717 GB, free: 88.93 MB / 426.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.714e-05/1.414, allocations: 20.02 kB / 0.6717 GB, free: 88.93 MB / 426.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02381/1.438, allocations: 16.09 MB / 0.6874 GB, free: 88.04 MB / 426.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/1.438, allocations: 0 / 0.6874 GB, free: 88.04 MB / 426.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/1.44, allocations: 0.7684 MB / 0.6881 GB, free: 88.04 MB / 426.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003187/1.443, allocations: 1.396 MB / 0.6895 GB, free: 87.96 MB / 426.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002245/1.443, allocations: 90.75 kB / 0.6896 GB, free: 87.96 MB / 426.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007192/1.45, allocations: 6.925 MB / 0.6964 GB, free: 85.71 MB / 426.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.45, allocations: 0 / 0.6964 GB, free: 85.71 MB / 426.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007033/1.457, allocations: 5.069 MB / 0.7013 GB, free: 83.01 MB / 426.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001714/1.459, allocations: 1.158 MB / 0.7024 GB, free: 82.3 MB / 426.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005172/1.46, allocations: 74.06 kB / 0.7025 GB, free: 82.28 MB / 426.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001793/1.462, allocations: 306.7 kB / 0.7028 GB, free: 82.14 MB / 426.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000593/1.462, allocations: 320.9 kB / 0.7031 GB, free: 82.02 MB / 426.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002421/1.462, allocations: 122 kB / 0.7032 GB, free: 81.94 MB / 426.9 MB Notification: Performance of sorting global known variables: time 0.004684/1.467, allocations: 2.983 MB / 0.7061 GB, free: 80.17 MB / 426.9 MB Notification: Performance of sort global known variables: time 2.21e-07/1.467, allocations: 0 / 0.7061 GB, free: 80.17 MB / 426.9 MB Notification: Performance of remove unused functions: time 0.009846/1.477, allocations: 4.25 MB / 0.7103 GB, free: 76.68 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.0006761/1.478, allocations: 280 kB / 0.7106 GB, free: 76.53 MB / 426.9 MB Notification: Performance of simCode: created initialization part: time 0.0108/1.488, allocations: 6.536 MB / 0.7169 GB, free: 72.14 MB / 426.9 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/1.488, allocations: 128 / 0.7169 GB, free: 72.14 MB / 426.9 MB Notification: Performance of simCode: created simulation system equations: time 0.003564/1.492, allocations: 2.331 MB / 0.7192 GB, free: 70.17 MB / 426.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005415/1.497, allocations: 1.479 MB / 0.7207 GB, free: 68.96 MB / 426.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03684/1.534, allocations: 25.42 MB / 0.7455 GB, free: 45.66 MB / 426.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003682/1.538, allocations: 5.044 MB / 0.7504 GB, free: 40.93 MB / 426.9 MB Notification: Performance of simCode: alias equations: time 0.005626/1.543, allocations: 3.418 MB / 0.7537 GB, free: 37.5 MB / 426.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008533/1.544, allocations: 0.5004 MB / 0.7542 GB, free: 37 MB / 426.9 MB Notification: Performance of SimCode: time 1.914e-06/1.544, allocations: 4 kB / 0.7542 GB, free: 37 MB / 426.9 MB Notification: Performance of Templates: time 0.2475/1.792, allocations: 83.65 MB / 0.8359 GB, free: 125.6 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.093121435958892]