Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001438/0.001438, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 230.5 MB / 258.1 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 55.91 kB / 379 MB, free: 2.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2544, allocations: 53.41 MB / 432.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.0103/0.2647, allocations: 7.888 MB / 440.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005847/0.2705, allocations: 2.749 MB / 443.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/0.2719, allocations: 91.31 kB / 443.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.2737, allocations: 0.5991 MB / 443.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002468/0.2761, allocations: 0.7731 MB / 444.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.2773, allocations: 427.4 kB / 445 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004131/0.2814, allocations: 3.315 MB / 448.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002647/0.2841, allocations: 2.004 MB / 450.3 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002928/0.287, allocations: 1.711 MB / 452 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002886/0.2899, allocations: 2.094 MB / 454.1 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005999/0.2905, allocations: 463.9 kB / 454.5 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.2917, allocations: 0.7221 MB / 455.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001255/0.2929, allocations: 1.274 MB / 456.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002065/0.295, allocations: 1.98 MB / 458.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006204/0.3012, allocations: 6.135 MB / 464.6 MB, free: 6.414 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3012, allocations: 0 / 464.6 MB, free: 6.414 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3012, allocations: 3.938 kB / 464.6 MB, free: 6.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.666e-05/0.3013, allocations: 4 kB / 464.7 MB, free: 6.406 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 778 * Number of variables: 778 Notification: Performance of Generate backend data structure: time 0.007307/0.3086, allocations: 3.825 MB / 468.5 MB, free: 2.527 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.3087, allocations: 12.03 kB / 468.5 MB, free: 2.516 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001289/0.3099, allocations: 446.5 kB / 468.9 MB, free: 2.078 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003971/0.3139, allocations: 2.127 MB / 471.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001759/0.3141, allocations: 214.2 kB / 471.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004159/0.3145, allocations: 292.1 kB / 471.5 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/0.3246, allocations: 4.226 MB / 475.8 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.04e-05/0.3247, allocations: 0 / 475.8 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004482/0.3251, allocations: 124 kB / 475.9 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00028/0.3254, allocations: 157.8 kB / 476 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009594/0.335, allocations: 3.505 MB / 479.6 MB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02922/0.3642, allocations: 11.02 MB / 490.6 MB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002661/0.3669, allocations: 1.655 MB / 492.2 MB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002498/0.3694, allocations: 1.403 MB / 493.6 MB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002358/0.3696, allocations: 44.97 kB / 493.7 MB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.478e-05/0.3697, allocations: 55.55 kB / 493.7 MB, free: 8.887 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 3.466e-06/0.3697, allocations: 0 / 493.7 MB, free: 8.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.01029/0.38, allocations: 5.136 MB / 498.9 MB, free: 3.715 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.097e-05/0.38, allocations: 90.42 kB / 499 MB, free: 3.609 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002902/0.3829, allocations: 1.918 MB / 0.4891 GB, free: 1.688 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001532/0.3831, allocations: 49.7 kB / 0.4892 GB, free: 1.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001094/0.3842, allocations: 1.369 MB / 0.4905 GB, free: 256 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004574/0.3846, allocations: 488 kB / 0.491 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004408/0.3851, allocations: 263.5 kB / 0.4912 GB, free: 15.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3852, allocations: 308.8 kB / 0.4915 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.3867, allocations: 0.8159 MB / 0.4923 GB, free: 14.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/0.3884, allocations: 1.19 MB / 0.4935 GB, free: 13.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003108/0.3915, allocations: 2.075 MB / 0.4955 GB, free: 10.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.3915, allocations: 8 kB / 0.4955 GB, free: 10.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004697/0.3962, allocations: 2.52 MB / 0.498 GB, free: 8.293 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.3962, allocations: 12 kB / 0.498 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/0.3962, allocations: 8 kB / 0.498 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002049/0.3983, allocations: 482.9 kB / 0.4985 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/0.3997, allocations: 331.5 kB / 0.4988 GB, free: 7.477 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006009/0.4057, allocations: 4.292 MB / 0.503 GB, free: 3.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.4072, allocations: 87.81 kB / 0.503 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/0.4074, allocations: 67.98 kB / 0.5031 GB, free: 2.926 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001882/0.4093, allocations: 1.052 MB / 0.5041 GB, free: 1.863 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005713/0.4099, allocations: 194.8 kB / 0.5043 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003897/0.4138, allocations: 2.137 MB / 0.5064 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.756e-05/0.4138, allocations: 16 kB / 0.5064 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.4138, allocations: 4 kB / 0.5064 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/0.4138, allocations: 11.91 kB / 0.5064 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009513/0.4233, allocations: 5.162 MB / 0.5115 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.4233, allocations: 0 / 0.5115 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.4244, allocations: 227.6 kB / 0.5117 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001911/0.4263, allocations: 456.5 kB / 0.5121 GB, free: 9.566 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.4264, allocations: 39.98 kB / 0.5122 GB, free: 9.527 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005747/0.4321, allocations: 4.197 MB / 0.5163 GB, free: 5.219 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.398e-06/0.4321, allocations: 7.938 kB / 0.5163 GB, free: 5.211 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005677/0.4378, allocations: 3.256 MB / 0.5195 GB, free: 1.914 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/0.4391, allocations: 390.6 kB / 0.5198 GB, free: 1.531 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002889/0.4394, allocations: 31.98 kB / 0.5199 GB, free: 1.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.4404, allocations: 91.97 kB / 0.52 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002405/0.4407, allocations: 104.7 kB / 0.5201 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-05/0.4408, allocations: 43.98 kB / 0.5201 GB, free: 1.262 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002153/0.4429, allocations: 1.342 MB / 0.5214 GB, free: 15.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4429, allocations: 0 / 0.5214 GB, free: 15.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001891/0.4448, allocations: 0.5545 MB / 0.5219 GB, free: 15.37 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * 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 (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005932/0.4454, allocations: 239.4 kB / 0.5222 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003688/0.4491, allocations: 2.118 MB / 0.5242 GB, free: 13.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/0.4491, allocations: 7.938 kB / 0.5243 GB, free: 13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00198/0.4511, allocations: 1.155 MB / 0.5254 GB, free: 11.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002375/0.4535, allocations: 0.5052 MB / 0.5259 GB, free: 11.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.4646, allocations: 5.838 MB / 0.5316 GB, free: 5.426 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00244/0.467, allocations: 2.375 MB / 0.5339 GB, free: 3.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007382/0.4677, allocations: 147.4 kB / 0.534 GB, free: 2.875 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4677, allocations: 0 / 0.534 GB, free: 2.875 MB / 446.1 MB Notification: Performance of Templates: time 0.2932/0.7609, allocations: 51.61 MB / 0.5844 GB, free: 60.54 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.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: 13.928176306188107]