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.001494/0.001494, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001846/0.001846, allocations: 211.4 kB / 24.48 MB, free: 3.941 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 2.272/2.272, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 177] 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.002086/0.002086, allocations: 47.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3037, allocations: 53.36 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.04058/0.3442, allocations: 24.5 MB / 456.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02162/0.3659, allocations: 7.036 MB / 463.9 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007885/0.3738, allocations: 310.4 kB / 464.2 MB, free: 6.766 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0492/0.423, allocations: 12.2 MB / 476.4 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01695/0.4399, allocations: 2.625 MB / 479 MB, free: 7.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01115/0.4511, allocations: 2.053 MB / 481.1 MB, free: 5.867 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03513/0.4862, allocations: 18.53 MB / 499.6 MB, free: 3.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08889/0.5751, allocations: 28.39 MB / 0.5156 GB, free: 6.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02417/0.5992, allocations: 10.16 MB / 0.5255 GB, free: 12.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02933/0.6286, allocations: 11.14 MB / 0.5364 GB, free: 1.305 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.6284/1.257, allocations: 2.921 MB / 0.5393 GB, free: 39.44 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01366/1.271, allocations: 3.191 MB / 0.5424 GB, free: 39.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01078/1.281, allocations: 5.491 MB / 0.5477 GB, free: 39.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02046/1.302, allocations: 8.369 MB / 0.5559 GB, free: 38.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04955/1.351, allocations: 39.28 MB / 0.5943 GB, free: 19.63 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.924e-06/1.351, allocations: 0 / 0.5943 GB, free: 19.63 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.755e-06/1.351, allocations: 0 / 0.5943 GB, free: 19.63 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001082/1.353, allocations: 0.8125 kB / 0.5943 GB, free: 19.63 MB / 446.1 MB 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.08285/1.435, allocations: 22.24 MB / 0.616 GB, free: 2.637 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/1.435, allocations: 11.97 kB / 0.616 GB, free: 2.625 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0843/1.52, allocations: 8.245 MB / 0.6241 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04246/1.562, allocations: 11.89 MB / 0.6357 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002024/1.564, allocations: 1.337 MB / 0.637 GB, free: 13.63 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009131/1.573, allocations: 1.754 MB / 0.6387 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09779/1.671, allocations: 29.02 MB / 0.667 GB, free: 14.77 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008205/1.672, allocations: 23.84 kB / 0.667 GB, free: 14.75 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00651/1.678, allocations: 0.7281 MB / 0.6678 GB, free: 14.03 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001176/1.68, allocations: 0.8454 MB / 0.6686 GB, free: 13.18 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07974/1.759, allocations: 24.76 MB / 0.6928 GB, free: 4.406 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7048/2.464, allocations: 76.09 MB / 0.7671 GB, free: 141 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01849/2.483, allocations: 12.79 MB / 0.7796 GB, free: 140.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007553/2.49, allocations: 5.029 MB / 0.7845 GB, free: 140.5 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004803/2.491, allocations: 145.7 kB / 0.7846 GB, free: 140.4 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.098e-05/2.491, allocations: 97.48 kB / 0.7847 GB, free: 140.4 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 9.198e-06/2.491, allocations: 0 / 0.7847 GB, free: 140.4 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.03177/2.523, allocations: 14.68 MB / 0.799 GB, free: 139.2 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.988e-05/2.523, allocations: 133.2 kB / 0.7992 GB, free: 139.1 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01148/2.534, allocations: 6.496 MB / 0.8055 GB, free: 136.8 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001352/2.535, allocations: 115.3 kB / 0.8056 GB, free: 136.7 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.005553/2.541, allocations: 7.896 MB / 0.8133 GB, free: 130.5 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002889/2.544, allocations: 2.106 MB / 0.8154 GB, free: 128.7 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004567/2.548, allocations: 2.115 MB / 0.8174 GB, free: 127.5 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 7.637e-05/2.549, allocations: 309.1 kB / 0.8177 GB, free: 127.2 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008014/2.557, allocations: 4.748 MB / 0.8224 GB, free: 124.7 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01369/2.57, allocations: 9.498 MB / 0.8317 GB, free: 115.5 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02475/2.595, allocations: 15.33 MB / 0.8466 GB, free: 97.87 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004328/2.595, allocations: 44 kB / 0.8467 GB, free: 97.82 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.04001/2.635, allocations: 15.4 MB / 0.8617 GB, free: 82.34 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004817/2.636, allocations: 72 kB / 0.8618 GB, free: 82.27 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005523/2.636, allocations: 163.9 kB / 0.8619 GB, free: 82.11 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006592/2.643, allocations: 1.657 MB / 0.8635 GB, free: 80.45 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01018/2.653, allocations: 2.367 MB / 0.8659 GB, free: 78.09 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01699/2.67, allocations: 11.24 MB / 0.8768 GB, free: 66.75 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01219/2.682, allocations: 1.35 MB / 0.8782 GB, free: 65.39 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003652/2.686, allocations: 0.539 MB / 0.8787 GB, free: 64.85 MB / 0.5607 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.02339/2.709, allocations: 7.141 MB / 0.8857 GB, free: 57.69 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003738/2.713, allocations: 0.6286 MB / 0.8863 GB, free: 57.06 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0259/2.739, allocations: 10.07 MB / 0.8961 GB, free: 46.87 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01146/2.751, allocations: 7.765 MB / 0.9037 GB, free: 39.02 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.348e-05/2.751, allocations: 19.94 kB / 0.9037 GB, free: 39 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.773e-05/2.751, allocations: 35.81 kB / 0.9037 GB, free: 38.96 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06498/2.816, allocations: 21.77 MB / 0.925 GB, free: 17.08 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-05/2.816, allocations: 8 kB / 0.925 GB, free: 17.07 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004687/2.82, allocations: 1.011 MB / 0.926 GB, free: 16.06 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005331/2.826, allocations: 1.465 MB / 0.9274 GB, free: 14.59 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001375/2.827, allocations: 132 kB / 0.9275 GB, free: 14.46 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01226/2.839, allocations: 10.8 MB / 0.9381 GB, free: 3.566 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/2.839, allocations: 11.94 kB / 0.9381 GB, free: 3.555 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02534/2.865, allocations: 14.12 MB / 0.9519 GB, free: 5.078 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005923/2.871, allocations: 1.42 MB / 0.9533 GB, free: 3.652 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001791/2.872, allocations: 108 kB / 0.9534 GB, free: 3.547 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004001/2.876, allocations: 321.6 kB / 0.9537 GB, free: 3.234 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001067/2.877, allocations: 428.2 kB / 0.9541 GB, free: 2.812 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004182/2.878, allocations: 176 kB / 0.9543 GB, free: 2.641 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.009841/2.888, allocations: 4.16 MB / 0.9583 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.7e-07/2.888, allocations: 0 / 0.9583 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01713/2.905, allocations: 4.106 MB / 0.9623 GB, free: 10.39 MB / 0.5919 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.001986/2.907, allocations: 319.9 kB / 0.9627 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.371/3.278, allocations: 10.95 MB / 0.9733 GB, free: 195.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.171e-05/3.278, allocations: 3.125 kB / 0.9733 GB, free: 195.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01251/3.29, allocations: 4.349 MB / 0.9776 GB, free: 195.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01217/3.302, allocations: 1.452 MB / 0.979 GB, free: 195.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08419/3.387, allocations: 29.79 MB / 1.008 GB, free: 186.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03625/3.423, allocations: 10.93 MB / 1.019 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01586/3.439, allocations: 3.86 MB / 1.023 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004562/3.443, allocations: 0.5375 MB / 1.023 GB, free: 177.6 MB / 0.5919 GB Notification: Performance of SimCode: time 3.296e-06/3.443, allocations: 0 / 1.023 GB, free: 177.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.1822/3.626, allocations: 107 MB / 1.128 GB, free: 73.41 MB / 0.5919 GB " [Timeout remaining time 656] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/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: 12.692339792003622]