Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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.001804/0.001804, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002294/0.002294, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.512/1.512, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 55.91 kB / 373.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09662/0.09818, allocations: 53.33 MB / 426.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.2145/0.3127, allocations: 28.72 MB / 455.5 MB, free: 9.102 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0174/0.3301, allocations: 7.204 MB / 462.7 MB, free: 3.988 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005402/0.3355, allocations: 310.9 kB / 463 MB, free: 3.891 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03059/0.3661, allocations: 13.22 MB / 476.3 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01095/0.377, allocations: 2.561 MB / 478.8 MB, free: 8.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00637/0.3834, allocations: 2.039 MB / 480.9 MB, free: 7.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02379/0.4072, allocations: 18.29 MB / 499.2 MB, free: 8.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06521/0.4724, allocations: 34.24 MB / 0.5209 GB, free: 5.781 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01625/0.4886, allocations: 10.11 MB / 0.5308 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01823/0.5069, allocations: 11.12 MB / 0.5416 GB, free: 0.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007059/0.5139, allocations: 2.918 MB / 0.5445 GB, free: 13.58 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008671/0.5226, allocations: 3.207 MB / 0.5476 GB, free: 10.38 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007584/0.5302, allocations: 5.487 MB / 0.553 GB, free: 4.875 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01862/0.5488, allocations: 10.82 MB / 0.5635 GB, free: 10.01 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04985/0.5987, allocations: 39.1 MB / 0.6017 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5987, allocations: 0 / 0.6017 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5987, allocations: 0 / 0.6017 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0008568/0.5995, allocations: 3.938 kB / 0.6017 GB, free: 2.785 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.4588/1.058, allocations: 22.31 MB / 0.6235 GB, free: 136 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/1.058, allocations: 10.94 kB / 0.6235 GB, free: 136 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04974/1.108, allocations: 8.244 MB / 0.6316 GB, free: 134.5 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02408/1.132, allocations: 11.69 MB / 0.643 GB, free: 129.2 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001557/1.134, allocations: 1.337 MB / 0.6443 GB, free: 128.6 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00662/1.14, allocations: 1.758 MB / 0.646 GB, free: 128 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06685/1.207, allocations: 28.77 MB / 0.6741 GB, free: 106.1 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007039/1.208, allocations: 11.95 kB / 0.6741 GB, free: 106.1 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004962/1.213, allocations: 0.7337 MB / 0.6748 GB, free: 105.4 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006158/1.213, allocations: 0.8468 MB / 0.6757 GB, free: 104.5 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04776/1.261, allocations: 24.83 MB / 0.6999 GB, free: 79.67 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.134/1.395, allocations: 87.52 MB / 0.7854 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03639/1.432, allocations: 34.59 MB / 0.8192 GB, free: 1.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01072/1.442, allocations: 5.052 MB / 0.8241 GB, free: 12.43 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008366/1.443, allocations: 330.5 kB / 0.8244 GB, free: 12.07 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001196/1.443, allocations: 91.08 kB / 0.8245 GB, free: 11.97 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=577): time 8.937e-06/1.443, allocations: 0 / 0.8245 GB, free: 11.97 MB / 0.5763 GB Notification: Performance of matching and sorting (n=577): time 0.04064/1.484, allocations: 14.77 MB / 0.8389 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/1.484, allocations: 137.6 kB / 0.8391 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01213/1.496, allocations: 6.433 MB / 0.8453 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0009956/1.497, allocations: 117.7 kB / 0.8454 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.4391/1.936, allocations: 7.893 MB / 0.8532 GB, free: 198 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.002754/1.939, allocations: 2.109 MB / 0.8552 GB, free: 197 MB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003396/1.942, allocations: 2.118 MB / 0.8573 GB, free: 196.8 MB / 0.592 GB Notification: Performance of setup shared object (initialization): time 4.58e-05/1.942, allocations: 301.1 kB / 0.8576 GB, free: 196.5 MB / 0.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00765/1.95, allocations: 4.744 MB / 0.8622 GB, free: 196.5 MB / 0.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009744/1.96, allocations: 9.47 MB / 0.8715 GB, free: 188.6 MB / 0.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01798/1.978, allocations: 15.34 MB / 0.8864 GB, free: 177.5 MB / 0.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003572/1.978, allocations: 46.25 kB / 0.8865 GB, free: 177.5 MB / 0.592 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02634/2.005, allocations: 15.41 MB / 0.9015 GB, free: 171.3 MB / 0.592 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002572/2.005, allocations: 74.53 kB / 0.9016 GB, free: 171.3 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003437/2.005, allocations: 160.4 kB / 0.9017 GB, free: 171.3 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005651/2.011, allocations: 1.659 MB / 0.9034 GB, free: 171 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008298/2.019, allocations: 2.361 MB / 0.9057 GB, free: 170.7 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01415/2.033, allocations: 11.61 MB / 0.917 GB, free: 164.5 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01061/2.044, allocations: 1.372 MB / 0.9184 GB, free: 163.9 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00235/2.046, allocations: 0.5414 MB / 0.9189 GB, free: 163.9 MB / 0.592 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (1243): * Single equations (assignments): 1240 * 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.01277/2.059, allocations: 7.142 MB / 0.9259 GB, free: 158 MB / 0.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001813/2.061, allocations: 0.6403 MB / 0.9265 GB, free: 157.3 MB / 0.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01604/2.077, allocations: 10.08 MB / 0.9363 GB, free: 148.9 MB / 0.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01063/2.087, allocations: 7.77 MB / 0.9439 GB, free: 141.9 MB / 0.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-05/2.088, allocations: 19.92 kB / 0.9439 GB, free: 141.9 MB / 0.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.94e-05/2.088, allocations: 27.89 kB / 0.944 GB, free: 141.9 MB / 0.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0432/2.131, allocations: 25.69 MB / 0.969 GB, free: 116.1 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.84e-05/2.131, allocations: 8.875 kB / 0.969 GB, free: 116.1 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004337/2.135, allocations: 1.014 MB / 0.97 GB, free: 115.1 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005045/2.14, allocations: 1.466 MB / 0.9715 GB, free: 113.6 MB / 0.592 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008293/2.141, allocations: 132 kB / 0.9716 GB, free: 113.5 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01339/2.154, allocations: 11.16 MB / 0.9825 GB, free: 102.2 MB / 0.592 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-05/2.154, allocations: 23.88 kB / 0.9825 GB, free: 102.2 MB / 0.592 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02168/2.176, allocations: 14.13 MB / 0.9963 GB, free: 87.7 MB / 0.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003605/2.18, allocations: 1.483 MB / 0.9978 GB, free: 86.28 MB / 0.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001909/2.182, allocations: 114 kB / 0.9979 GB, free: 86.17 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004306/2.186, allocations: 315.7 kB / 0.9982 GB, free: 85.86 MB / 0.592 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001197/2.187, allocations: 408.4 kB / 0.9986 GB, free: 85.46 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007006/2.188, allocations: 172 kB / 0.9987 GB, free: 85.29 MB / 0.592 GB Notification: Performance of sorting global known variables: time 0.008327/2.196, allocations: 4.309 MB / 1.003 GB, free: 81.02 MB / 0.592 GB Notification: Performance of sort global known variables: time 1e-07/2.196, allocations: 0 / 1.003 GB, free: 81.02 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.01463/2.211, allocations: 4.088 MB / 1.007 GB, free: 77.29 MB / 0.592 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * 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 (528): * Single equations (assignments): 525 * 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.001833/2.213, allocations: 335.8 kB / 1.007 GB, free: 76.97 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.01838/2.231, allocations: 10.95 MB / 1.018 GB, free: 65.98 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 1.67e-05/2.231, allocations: 3.5 kB / 1.018 GB, free: 65.98 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.00768/2.239, allocations: 4.349 MB / 1.022 GB, free: 61.61 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01063/2.249, allocations: 1.558 MB / 1.024 GB, free: 60.11 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05779/2.307, allocations: 29.55 MB / 1.053 GB, free: 30.35 MB / 0.592 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01751/2.325, allocations: 11.26 MB / 1.064 GB, free: 19.05 MB / 0.592 GB Notification: Performance of simCode: alias equations: time 0.00974/2.334, allocations: 3.77 MB / 1.067 GB, free: 15.27 MB / 0.592 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002453/2.337, allocations: 0.5462 MB / 1.068 GB, free: 14.72 MB / 0.592 GB Notification: Performance of SimCode: time 1.252e-06/2.337, allocations: 0 / 1.068 GB, free: 14.72 MB / 0.592 GB Notification: Performance of Templates: time 0.4105/2.747, allocations: 101.4 MB / 1.167 GB, free: 116.8 MB / 0.592 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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.226086463779211]