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.001864/0.001864, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.002631/0.002631, allocations: 212 kB / 24.47 MB, free: 3.547 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.63/1.63, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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.002902/0.002902, allocations: 52.2 kB / 347.7 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3986, allocations: 49.16 MB / 396.9 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.03837/0.437, allocations: 25.27 MB / 422.1 MB, free: 7.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01892/0.4559, allocations: 7.29 MB / 429.4 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007116/0.463, allocations: 262.7 kB / 429.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03233/0.4953, allocations: 12.26 MB / 441.9 MB, free: 5.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0122/0.5075, allocations: 2.956 MB / 444.9 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007114/0.5146, allocations: 2.099 MB / 447 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02634/0.541, allocations: 19.18 MB / 466.2 MB, free: 13.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06136/0.6023, allocations: 28.34 MB / 494.5 MB, free: 1.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01936/0.6217, allocations: 10.53 MB / 0.4932 GB, free: 6.508 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02318/0.6449, allocations: 11.35 MB / 0.5043 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009602/0.6545, allocations: 2.973 MB / 0.5072 GB, free: 8.145 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01198/0.6665, allocations: 3.226 MB / 0.5103 GB, free: 4.918 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01026/0.6767, allocations: 5.783 MB / 0.516 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01948/0.6962, allocations: 8.69 MB / 0.5245 GB, free: 6.398 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4395/1.136, allocations: 39.94 MB / 0.5635 GB, free: 66.45 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.136, allocations: 0.5938 kB / 0.5635 GB, free: 66.45 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.643e-06/1.136, allocations: 0 / 0.5635 GB, free: 66.45 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001105/1.137, allocations: 1.906 kB / 0.5635 GB, free: 66.45 MB / 478.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.07058/1.207, allocations: 23.19 MB / 0.5861 GB, free: 60.64 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/1.207, allocations: 13.73 kB / 0.5861 GB, free: 60.64 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06336/1.271, allocations: 12.37 MB / 0.5982 GB, free: 58.44 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02309/1.294, allocations: 10.79 MB / 0.6088 GB, free: 54.49 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001281/1.295, allocations: 1.401 MB / 0.6101 GB, free: 53.86 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007637/1.303, allocations: 1.836 MB / 0.6119 GB, free: 52.65 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06343/1.366, allocations: 31.09 MB / 0.6423 GB, free: 21.46 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004487/1.367, allocations: 13.83 kB / 0.6423 GB, free: 21.45 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003698/1.37, allocations: 0.7653 MB / 0.643 GB, free: 20.7 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006744/1.371, allocations: 0.9679 MB / 0.644 GB, free: 19.73 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05525/1.426, allocations: 27.77 MB / 0.6711 GB, free: 7.941 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1679/1.594, allocations: 80.68 MB / 0.7499 GB, free: 7.16 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02959/1.624, allocations: 16.89 MB / 0.7664 GB, free: 10.23 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0106/1.634, allocations: 5.538 MB / 0.7718 GB, free: 4.703 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0341/1.669, allocations: 13.91 MB / 0.7854 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.002e-05/1.669, allocations: 84.8 kB / 0.7855 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=427): time 7.554e-06/1.669, allocations: 0 / 0.7855 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of matching and sorting (n=427): time 0.2532/1.922, allocations: 13.12 MB / 0.7983 GB, free: 228.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.52e-05/1.922, allocations: 121.8 kB / 0.7984 GB, free: 228.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01131/1.933, allocations: 7.645 MB / 0.8058 GB, free: 226.8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0005971/1.934, allocations: 96.2 kB / 0.8059 GB, free: 226.7 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003872/1.938, allocations: 8.877 MB / 0.8146 GB, free: 220.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001461/1.939, allocations: 1.625 MB / 0.8162 GB, free: 219 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002715/1.942, allocations: 2.288 MB / 0.8184 GB, free: 217.9 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.828e-05/1.942, allocations: 312.6 kB / 0.8187 GB, free: 217.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006493/1.948, allocations: 4.704 MB / 0.8233 GB, free: 215.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01096/1.959, allocations: 10.43 MB / 0.8335 GB, free: 206.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01501/1.974, allocations: 15.98 MB / 0.8491 GB, free: 194.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001566/1.974, allocations: 61.59 kB / 0.8492 GB, free: 194.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.02143/1.996, allocations: 15.98 MB / 0.8648 GB, free: 182.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/1.996, allocations: 88 kB / 0.8649 GB, free: 182.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002138/1.996, allocations: 196 kB / 0.8651 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0046/2.001, allocations: 1.694 MB / 0.8667 GB, free: 181.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007036/2.008, allocations: 2.507 MB / 0.8692 GB, free: 179.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01245/2.02, allocations: 11.17 MB / 0.8801 GB, free: 169.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01002/2.03, allocations: 1.578 MB / 0.8816 GB, free: 167.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001786/2.032, allocations: 0.597 MB / 0.8822 GB, free: 167.1 MB / 0.5919 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.009609/2.042, allocations: 7.396 MB / 0.8894 GB, free: 160.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001139/2.043, allocations: 0.6403 MB / 0.89 GB, free: 159.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/2.053, allocations: 8.045 MB / 0.8979 GB, free: 151.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007283/2.06, allocations: 6.449 MB / 0.9042 GB, free: 145.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/2.06, allocations: 12 kB / 0.9042 GB, free: 145.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.058e-05/2.06, allocations: 19.92 kB / 0.9042 GB, free: 145.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02523/2.085, allocations: 17.3 MB / 0.9211 GB, free: 127.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/2.085, allocations: 0 / 0.9211 GB, free: 127.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002917/2.088, allocations: 0.7645 MB / 0.9219 GB, free: 127.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004385/2.093, allocations: 1.45 MB / 0.9233 GB, free: 125.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003322/2.093, allocations: 95.97 kB / 0.9234 GB, free: 125.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01185/2.105, allocations: 10.78 MB / 0.9339 GB, free: 114.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/2.105, allocations: 4.875 kB / 0.9339 GB, free: 114.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01353/2.118, allocations: 11.69 MB / 0.9453 GB, free: 102.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003162/2.122, allocations: 1.287 MB / 0.9466 GB, free: 101.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008494/2.122, allocations: 76.98 kB / 0.9467 GB, free: 101.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002596/2.125, allocations: 299.6 kB / 0.9469 GB, free: 101.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006011/2.126, allocations: 319.6 kB / 0.9472 GB, free: 101 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002445/2.126, allocations: 120 kB / 0.9474 GB, free: 100.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005914/2.132, allocations: 4.777 MB / 0.952 GB, free: 96.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/2.132, allocations: 0 / 0.952 GB, free: 96.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01066/2.143, allocations: 4.254 MB / 0.9562 GB, free: 91.82 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.0007842/2.143, allocations: 271.4 kB / 0.9564 GB, free: 91.56 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01329/2.157, allocations: 10.52 MB / 0.9667 GB, free: 81.06 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/2.157, allocations: 0 / 0.9667 GB, free: 81.06 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004519/2.161, allocations: 3.675 MB / 0.9703 GB, free: 77.38 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00638/2.167, allocations: 1.44 MB / 0.9717 GB, free: 75.95 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04647/2.214, allocations: 30.4 MB / 1.001 GB, free: 45.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.013/2.227, allocations: 11.3 MB / 1.012 GB, free: 34.15 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008404/2.235, allocations: 3.954 MB / 1.016 GB, free: 30.18 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001435/2.237, allocations: 499.4 kB / 1.017 GB, free: 29.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.103e-06/2.237, allocations: 0 / 1.017 GB, free: 29.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.3908/2.628, allocations: 101 MB / 1.115 GB, free: 160.5 MB / 0.5919 GB " [Timeout remaining time 657] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/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: 10.093736983835697]