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.001465/0.001465, allocations: 101.9 kB / 21.93 MB, free: 5.203 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.001672/0.001672, allocations: 203.2 kB / 25.22 MB, free: 3.141 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.425/1.425, allocations: 207.7 MB / 236.1 MB, free: 9.777 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.00197/0.00197, allocations: 51.94 kB / 348.5 MB, free: 9.359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2644, allocations: 49.15 MB / 397.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02769/0.2921, allocations: 25.27 MB / 422.9 MB, free: 7.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01905/0.3112, allocations: 7.287 MB / 430.2 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007575/0.3187, allocations: 263.4 kB / 430.4 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03165/0.3504, allocations: 12.27 MB / 442.7 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01407/0.3645, allocations: 2.96 MB / 445.7 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00751/0.372, allocations: 2.092 MB / 447.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02591/0.3979, allocations: 19.17 MB / 466.9 MB, free: 13.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05712/0.455, allocations: 28.34 MB / 495.3 MB, free: 1.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01747/0.4725, allocations: 10.53 MB / 0.4939 GB, free: 6.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01967/0.4921, allocations: 11.36 MB / 0.505 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008374/0.5005, allocations: 2.973 MB / 0.5079 GB, free: 8.152 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01019/0.5107, allocations: 3.222 MB / 0.5111 GB, free: 4.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009535/0.5202, allocations: 5.783 MB / 0.5167 GB, free: 15.13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0186/0.5388, allocations: 8.697 MB / 0.5252 GB, free: 6.402 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4878/1.027, allocations: 39.94 MB / 0.5642 GB, free: 66.4 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/1.027, allocations: 0.5625 kB / 0.5642 GB, free: 66.4 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.374e-06/1.027, allocations: 0 / 0.5642 GB, free: 66.4 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001238/1.028, allocations: 1.328 kB / 0.5642 GB, free: 66.4 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.07937/1.107, allocations: 23.19 MB / 0.5869 GB, free: 60.59 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/1.107, allocations: 13.83 kB / 0.5869 GB, free: 60.59 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06494/1.172, allocations: 12.37 MB / 0.599 GB, free: 58.41 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02627/1.198, allocations: 10.8 MB / 0.6095 GB, free: 54.5 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001576/1.2, allocations: 1.397 MB / 0.6109 GB, free: 53.87 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008931/1.209, allocations: 1.839 MB / 0.6127 GB, free: 52.59 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08344/1.292, allocations: 31.09 MB / 0.643 GB, free: 21.4 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001057/1.293, allocations: 17.81 kB / 0.643 GB, free: 21.39 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007672/1.301, allocations: 0.7632 MB / 0.6438 GB, free: 20.64 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008439/1.302, allocations: 0.9718 MB / 0.6447 GB, free: 19.67 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06165/1.364, allocations: 27.77 MB / 0.6719 GB, free: 7.871 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1816/1.545, allocations: 80.66 MB / 0.7506 GB, free: 7.094 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03062/1.576, allocations: 16.89 MB / 0.7671 GB, free: 10.17 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01117/1.587, allocations: 5.539 MB / 0.7725 GB, free: 4.637 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03173/1.619, allocations: 13.91 MB / 0.7861 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.297e-05/1.619, allocations: 77.91 kB / 0.7862 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=427): time 7.825e-06/1.619, allocations: 0 / 0.7862 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of matching and sorting (n=427): time 0.2863/1.905, allocations: 13.12 MB / 0.799 GB, free: 228.4 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.251e-05/1.905, allocations: 125.5 kB / 0.7991 GB, free: 228.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01953/1.925, allocations: 7.643 MB / 0.8066 GB, free: 226.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001021/1.926, allocations: 96.39 kB / 0.8067 GB, free: 226.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.006754/1.933, allocations: 8.868 MB / 0.8153 GB, free: 220.4 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002363/1.935, allocations: 1.629 MB / 0.8169 GB, free: 219.1 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004619/1.94, allocations: 2.295 MB / 0.8192 GB, free: 218 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.991e-05/1.94, allocations: 305.1 kB / 0.8195 GB, free: 217.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009747/1.949, allocations: 4.703 MB / 0.8241 GB, free: 216 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01529/1.965, allocations: 10.43 MB / 0.8342 GB, free: 206.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01887/1.983, allocations: 15.98 MB / 0.8499 GB, free: 194.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002972/1.984, allocations: 61.03 kB / 0.8499 GB, free: 194.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.02939/2.013, allocations: 15.98 MB / 0.8655 GB, free: 182.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003298/2.014, allocations: 88 kB / 0.8656 GB, free: 182.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004698/2.014, allocations: 196 kB / 0.8658 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005584/2.02, allocations: 1.697 MB / 0.8674 GB, free: 181.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008605/2.028, allocations: 2.503 MB / 0.8699 GB, free: 179.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01496/2.043, allocations: 11.17 MB / 0.8808 GB, free: 169.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01128/2.054, allocations: 1.571 MB / 0.8823 GB, free: 167.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002242/2.057, allocations: 0.6008 MB / 0.8829 GB, free: 167.2 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.01505/2.072, allocations: 7.402 MB / 0.8901 GB, free: 160.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003224/2.075, allocations: 0.6403 MB / 0.8908 GB, free: 159.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02317/2.098, allocations: 8.045 MB / 0.8986 GB, free: 151.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01481/2.113, allocations: 6.445 MB / 0.9049 GB, free: 145.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-05/2.113, allocations: 19.75 kB / 0.9049 GB, free: 145.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001044/2.113, allocations: 19.92 kB / 0.905 GB, free: 145.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04699/2.16, allocations: 17.3 MB / 0.9218 GB, free: 127.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.262e-05/2.16, allocations: 4 kB / 0.9219 GB, free: 127.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003239/2.163, allocations: 0.7645 MB / 0.9226 GB, free: 127.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004548/2.168, allocations: 1.45 MB / 0.924 GB, free: 125.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006742/2.169, allocations: 91.97 kB / 0.9241 GB, free: 125.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01241/2.181, allocations: 10.79 MB / 0.9346 GB, free: 114.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/2.181, allocations: 6.188 kB / 0.9346 GB, free: 114.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01513/2.196, allocations: 11.69 MB / 0.9461 GB, free: 102.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003862/2.2, allocations: 1.287 MB / 0.9473 GB, free: 101.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001698/2.202, allocations: 76 kB / 0.9474 GB, free: 101.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003669/2.205, allocations: 299.6 kB / 0.9477 GB, free: 101.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006658/2.206, allocations: 311.6 kB / 0.948 GB, free: 101 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002537/2.206, allocations: 128 kB / 0.9481 GB, free: 100.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008303/2.215, allocations: 4.777 MB / 0.9528 GB, free: 96.06 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5e-07/2.215, allocations: 0 / 0.9528 GB, free: 96.06 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01431/2.229, allocations: 4.255 MB / 0.9569 GB, free: 91.79 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.001249/2.23, allocations: 264.5 kB / 0.9572 GB, free: 91.54 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01569/2.246, allocations: 10.52 MB / 0.9674 GB, free: 81.04 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/2.246, allocations: 0 / 0.9674 GB, free: 81.04 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00564/2.251, allocations: 3.676 MB / 0.971 GB, free: 77.36 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007578/2.259, allocations: 1.432 MB / 0.9724 GB, free: 75.93 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05219/2.311, allocations: 29.8 MB / 1.002 GB, free: 46.08 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01696/2.328, allocations: 10.93 MB / 1.012 GB, free: 35.11 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002269/2.33, allocations: 0.5892 MB / 1.013 GB, free: 34.52 MB / 0.5919 GB Notification: Performance of SimCode: time 7.81e-07/2.33, allocations: 0 / 1.013 GB, free: 34.52 MB / 0.5919 GB Notification: Performance of Templates: time 0.9229/3.253, allocations: 295.6 MB / 1.301 GB, free: 181.3 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/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: 23.050778036937118]