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.0008992/0.0008992, allocations: 80.39 kB / 22.21 MB, free: 2.285 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.0009077/0.0009077, allocations: 164.4 kB / 25.6 MB, free: 8.891 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.003/1.003, allocations: 158.6 MB / 187.5 MB, free: 2.82 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.193e-06/1.193e-06, allocations: 0 / 251.5 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.588e-05/1.707e-05, allocations: 2.312 kB / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02033/0.02034, allocations: 27.37 MB / 278.8 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0149/0.03524, allocations: 7.417 MB / 286.3 MB, free: 4.301 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006552/0.04179, allocations: 262.6 kB / 286.5 MB, free: 4.043 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0165/0.05829, allocations: 13.69 MB / 300.2 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.011/0.06929, allocations: 3.048 MB / 303.3 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005885/0.07518, allocations: 2.074 MB / 305.3 MB, free: 1.156 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.02009/0.09527, allocations: 19.81 MB / 325.1 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04479/0.1401, allocations: 28.44 MB / 353.6 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2645/0.4046, allocations: 15.74 MB / 369.3 MB, free: 33.98 MB / 330.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01789/0.4225, allocations: 11.67 MB / 381 MB, free: 33.98 MB / 330.8 MB Notification: Performance of NFPackage.collectConstants: time 0.008913/0.4314, allocations: 2.972 MB / 384 MB, free: 33.98 MB / 330.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0129/0.4443, allocations: 3.244 MB / 387.2 MB, free: 33.98 MB / 330.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01429/0.4586, allocations: 5.977 MB / 393.2 MB, free: 32.3 MB / 330.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01664/0.4752, allocations: 7.603 MB / 400.8 MB, free: 28.01 MB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02528/0.5005, allocations: 18.97 MB / 419.8 MB, free: 11.86 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.5005, allocations: 0 / 419.8 MB, free: 11.86 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.283e-06/0.5005, allocations: 0.7812 kB / 419.8 MB, free: 11.86 MB / 330.8 MB Notification: Performance of Transformations before backend: time 0.0009917/0.5015, allocations: 4 kB / 419.8 MB, free: 11.86 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.04717/0.5487, allocations: 23.55 MB / 443.3 MB, free: 5.293 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.907e-05/0.5487, allocations: 11.98 kB / 443.3 MB, free: 5.281 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04057/0.5893, allocations: 11.3 MB / 454.6 MB, free: 10.11 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01805/0.6073, allocations: 8.88 MB / 463.5 MB, free: 1.664 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001283/0.6086, allocations: 1.403 MB / 464.9 MB, free: 284 kB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006019/0.6146, allocations: 1.838 MB / 466.7 MB, free: 14.46 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04627/0.6609, allocations: 14.96 MB / 481.7 MB, free: 196 kB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007016/0.6616, allocations: 11.94 kB / 481.7 MB, free: 184 kB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004433/0.666, allocations: 0.773 MB / 482.5 MB, free: 15.43 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008554/0.6669, allocations: 0.9664 MB / 483.5 MB, free: 14.46 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02525/0.6921, allocations: 6.636 MB / 490.1 MB, free: 7.785 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3716/1.064, allocations: 73.43 MB / 0.5503 GB, free: 56.24 MB / 394.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009485/1.073, allocations: 12.74 MB / 0.5628 GB, free: 51.72 MB / 394.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002426/1.076, allocations: 2.52 MB / 0.5652 GB, free: 49.26 MB / 394.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01099/1.087, allocations: 8.668 MB / 0.5737 GB, free: 41.14 MB / 394.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/1.087, allocations: 80.73 kB / 0.5738 GB, free: 41.05 MB / 394.9 MB Notification: Performance of pre-optimization done (n=427): time 5.03e-06/1.087, allocations: 4 kB / 0.5738 GB, free: 41.05 MB / 394.9 MB Notification: Performance of matching and sorting (n=427): time 0.01275/1.099, allocations: 7.419 MB / 0.581 GB, free: 33.66 MB / 394.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/1.1, allocations: 124.3 kB / 0.5811 GB, free: 33.53 MB / 394.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00633/1.106, allocations: 7.155 MB / 0.5881 GB, free: 27.64 MB / 394.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0001699/1.106, allocations: 97.7 kB / 0.5882 GB, free: 27.54 MB / 394.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.003487/1.11, allocations: 9.409 MB / 0.5974 GB, free: 19.84 MB / 394.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007907/1.11, allocations: 1.693 MB / 0.5991 GB, free: 18.3 MB / 394.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00205/1.112, allocations: 2.645 MB / 0.6016 GB, free: 15.86 MB / 394.9 MB Notification: Performance of setup shared object (initialization): time 4.344e-05/1.112, allocations: 480.7 kB / 0.6021 GB, free: 15.39 MB / 394.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/1.114, allocations: 1.087 MB / 0.6032 GB, free: 14.3 MB / 394.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003671/1.117, allocations: 9.793 MB / 0.6127 GB, free: 1.102 MB / 394.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008369/1.126, allocations: 12.04 MB / 0.6245 GB, free: 2.359 MB / 410.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-05/1.126, allocations: 56 kB / 0.6245 GB, free: 2.305 MB / 410.9 MB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.01047/1.136, allocations: 8.908 MB / 0.6332 GB, free: 10.7 MB / 426.9 MB Notification: Performance of prepare postOptimizeDAE: time 8.095e-05/1.136, allocations: 88.19 kB / 0.6333 GB, free: 10.61 MB / 426.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001288/1.136, allocations: 200 kB / 0.6335 GB, free: 10.41 MB / 426.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003186/1.14, allocations: 1.615 MB / 0.6351 GB, free: 8.812 MB / 426.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003774/1.143, allocations: 2.33 MB / 0.6374 GB, free: 6.684 MB / 426.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1772/1.321, allocations: 6.934 MB / 0.6441 GB, free: 92.4 MB / 426.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007106/1.328, allocations: 1.352 MB / 0.6455 GB, free: 92.4 MB / 426.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/1.329, allocations: 0.5154 MB / 0.646 GB, free: 92.4 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.006234/1.335, allocations: 0.9558 MB / 0.6469 GB, free: 92.24 MB / 426.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001874/1.337, allocations: 0.777 MB / 0.6477 GB, free: 92.24 MB / 426.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00685/1.344, allocations: 3.827 MB / 0.6514 GB, free: 92 MB / 426.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003028/1.347, allocations: 2.446 MB / 0.6538 GB, free: 91.82 MB / 426.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/1.347, allocations: 11.38 kB / 0.6538 GB, free: 91.82 MB / 426.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.39e-05/1.347, allocations: 28.38 kB / 0.6538 GB, free: 91.82 MB / 426.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02004/1.367, allocations: 15.44 MB / 0.6689 GB, free: 91.01 MB / 426.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/1.367, allocations: 1.438 kB / 0.6689 GB, free: 91.01 MB / 426.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/1.368, allocations: 0.6176 MB / 0.6695 GB, free: 91.01 MB / 426.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002867/1.371, allocations: 1.365 MB / 0.6708 GB, free: 90.98 MB / 426.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002226/1.371, allocations: 92.03 kB / 0.6709 GB, free: 90.98 MB / 426.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005737/1.377, allocations: 6.577 MB / 0.6773 GB, free: 88.87 MB / 426.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/1.377, allocations: 0 / 0.6773 GB, free: 88.87 MB / 426.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005661/1.383, allocations: 4.456 MB / 0.6817 GB, free: 87.98 MB / 426.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001573/1.384, allocations: 1.061 MB / 0.6827 GB, free: 87.62 MB / 426.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004421/1.385, allocations: 77.12 kB / 0.6828 GB, free: 87.62 MB / 426.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/1.386, allocations: 120 kB / 0.6829 GB, free: 87.62 MB / 426.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000401/1.386, allocations: 314.7 kB / 0.6832 GB, free: 87.61 MB / 426.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001722/1.386, allocations: 97.3 kB / 0.6833 GB, free: 87.61 MB / 426.9 MB Notification: Performance of sorting global known variables: time 0.003343/1.39, allocations: 2.771 MB / 0.686 GB, free: 87.35 MB / 426.9 MB Notification: Performance of sort global known variables: time 2.81e-07/1.39, allocations: 0 / 0.686 GB, free: 87.35 MB / 426.9 MB Notification: Performance of remove unused functions: time 0.009343/1.399, allocations: 4.247 MB / 0.6902 GB, free: 86.46 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.0005713/1.4, allocations: 269.6 kB / 0.6904 GB, free: 86.31 MB / 426.9 MB Notification: Performance of simCode: created initialization part: time 0.007485/1.407, allocations: 6.038 MB / 0.6963 GB, free: 82.36 MB / 426.9 MB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/1.407, allocations: 4 kB / 0.6963 GB, free: 82.35 MB / 426.9 MB Notification: Performance of simCode: created simulation system equations: time 0.002495/1.41, allocations: 2.142 MB / 0.6984 GB, free: 80.91 MB / 426.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00436/1.414, allocations: 1.482 MB / 0.6999 GB, free: 80.07 MB / 426.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.031/1.445, allocations: 25.27 MB / 0.7245 GB, free: 59.82 MB / 426.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003433/1.448, allocations: 5.043 MB / 0.7295 GB, free: 56.44 MB / 426.9 MB Notification: Performance of simCode: alias equations: time 0.003365/1.452, allocations: 1.169 MB / 0.7306 GB, free: 55.27 MB / 426.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002172/1.454, allocations: 1.47 MB / 0.732 GB, free: 53.8 MB / 426.9 MB Notification: Performance of SimCode: time 1.994e-06/1.454, allocations: 0 / 0.732 GB, free: 53.8 MB / 426.9 MB Notification: Performance of Templates: time 0.3/1.754, allocations: 91.84 MB / 0.8217 GB, free: 113.7 MB / 442.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.141942891757935]