Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001679/0.001679, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001988/0.001988, allocations: 206.2 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.491/1.491, allocations: 230.4 MB / 258.1 MB, free: 8.152 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-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 71.83 kB / 378.7 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2537, allocations: 53.32 MB / 432.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01032/0.264, allocations: 7.852 MB / 439.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005654/0.2697, allocations: 2.734 MB / 442.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.2707, allocations: 67.69 kB / 442.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.2721, allocations: 0.5937 MB / 443.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002232/0.2743, allocations: 0.7458 MB / 444 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009627/0.2753, allocations: 427.3 kB / 444.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004258/0.2795, allocations: 3.284 MB / 447.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003011/0.2825, allocations: 2.007 MB / 449.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003342/0.2859, allocations: 1.678 MB / 451.4 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003533/0.2894, allocations: 2.079 MB / 453.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008896/0.2903, allocations: 460 kB / 454 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001597/0.2919, allocations: 0.6753 MB / 454.6 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001577/0.2935, allocations: 1.258 MB / 455.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003153/0.2966, allocations: 1.964 MB / 457.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007746/0.3044, allocations: 6.132 MB / 464 MB, free: 7.309 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3044, allocations: 0 / 464 MB, free: 7.309 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3044, allocations: 0 / 464 MB, free: 7.309 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001486/0.3045, allocations: 4 kB / 464 MB, free: 7.305 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: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.009384/0.3139, allocations: 3.888 MB / 467.9 MB, free: 3.344 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.314, allocations: 8.031 kB / 467.9 MB, free: 3.336 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001528/0.3155, allocations: 454.5 kB / 468.3 MB, free: 2.891 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004515/0.32, allocations: 2.183 MB / 470.5 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/0.3202, allocations: 221.8 kB / 470.7 MB, free: 444 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004973/0.3207, allocations: 292 kB / 471 MB, free: 152 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007843/0.3285, allocations: 4.191 MB / 475.2 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.217e-05/0.3286, allocations: 4 kB / 475.2 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003143/0.3289, allocations: 120 kB / 475.3 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001843/0.3291, allocations: 141.9 kB / 475.5 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006336/0.3354, allocations: 3.49 MB / 479 MB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02117/0.3566, allocations: 10.79 MB / 489.7 MB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003229/0.3598, allocations: 2.556 MB / 492.3 MB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002632/0.3624, allocations: 1.411 MB / 493.7 MB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002631/0.3627, allocations: 122.2 kB / 493.8 MB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.946e-05/0.3628, allocations: 55.48 kB / 493.9 MB, free: 8.777 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 3.697e-06/0.3628, allocations: 4 kB / 493.9 MB, free: 8.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.009897/0.3727, allocations: 5.196 MB / 499.1 MB, free: 3.527 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.1e-05/0.3727, allocations: 98.41 kB / 499.2 MB, free: 3.414 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002935/0.3757, allocations: 1.914 MB / 0.4894 GB, free: 1.496 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.3758, allocations: 49.7 kB / 0.4894 GB, free: 1.441 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001095/0.3769, allocations: 1.361 MB / 0.4907 GB, free: 68 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004536/0.3773, allocations: 479.9 kB / 0.4912 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004592/0.3778, allocations: 271.5 kB / 0.4914 GB, free: 15.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3779, allocations: 309 kB / 0.4917 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/0.3793, allocations: 0.812 MB / 0.4925 GB, free: 14.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0017/0.381, allocations: 1.186 MB / 0.4937 GB, free: 12.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003124/0.3841, allocations: 2.082 MB / 0.4957 GB, free: 10.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.3841, allocations: 4 kB / 0.4957 GB, free: 10.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004778/0.3889, allocations: 2.524 MB / 0.4982 GB, free: 8.109 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.3889, allocations: 11.98 kB / 0.4982 GB, free: 8.098 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/0.3889, allocations: 12 kB / 0.4982 GB, free: 8.086 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002005/0.3909, allocations: 479.1 kB / 0.4987 GB, free: 7.617 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/0.3924, allocations: 331.4 kB / 0.499 GB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006334/0.3987, allocations: 4.408 MB / 0.5033 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/0.4003, allocations: 79.92 kB / 0.5034 GB, free: 2.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002664/0.4006, allocations: 56 kB / 0.5034 GB, free: 2.621 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.002167/0.4027, allocations: 1.063 MB / 0.5045 GB, free: 1.547 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000718/0.4035, allocations: 202.7 kB / 0.5047 GB, free: 1.348 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004327/0.4078, allocations: 2.133 MB / 0.5067 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.552e-05/0.4078, allocations: 16 kB / 0.5068 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/0.4079, allocations: 4 kB / 0.5068 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.362e-05/0.4079, allocations: 7.969 kB / 0.5068 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/0.4186, allocations: 5.17 MB / 0.5118 GB, free: 9.906 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.4186, allocations: 0 / 0.5118 GB, free: 9.906 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.4197, allocations: 235.9 kB / 0.512 GB, free: 9.676 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002004/0.4217, allocations: 456.3 kB / 0.5125 GB, free: 9.227 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001365/0.4218, allocations: 31.98 kB / 0.5125 GB, free: 9.195 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005818/0.4276, allocations: 4.308 MB / 0.5167 GB, free: 4.75 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4276, allocations: 0 / 0.5167 GB, free: 4.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005609/0.4332, allocations: 3.268 MB / 0.5199 GB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/0.4345, allocations: 463.7 kB / 0.5203 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000411/0.4349, allocations: 28 kB / 0.5204 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.4361, allocations: 95.89 kB / 0.5205 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002334/0.4363, allocations: 100.8 kB / 0.5206 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.4364, allocations: 39.98 kB / 0.5206 GB, free: 0.707 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002352/0.4388, allocations: 1.342 MB / 0.5219 GB, free: 15.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4388, allocations: 0 / 0.5219 GB, free: 15.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001885/0.4407, allocations: 0.5507 MB / 0.5224 GB, free: 14.82 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.0006123/0.4413, allocations: 228.2 kB / 0.5227 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003832/0.4451, allocations: 2.125 MB / 0.5247 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.4451, allocations: 3.938 kB / 0.5247 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002067/0.4472, allocations: 1.149 MB / 0.5259 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/0.4497, allocations: 0.5046 MB / 0.5264 GB, free: 10.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.4607, allocations: 5.844 MB / 0.5321 GB, free: 4.879 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002897/0.4636, allocations: 2.424 MB / 0.5344 GB, free: 2.422 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001665/0.4653, allocations: 0.4915 MB / 0.5349 GB, free: 1.926 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005353/0.4658, allocations: 127.4 kB / 0.535 GB, free: 1.801 MB / 446.1 MB Notification: Performance of SimCode: time 1.242e-06/0.4658, allocations: 3.938 kB / 0.535 GB, free: 1.797 MB / 446.1 MB Notification: Performance of Templates: time 0.2412/0.707, allocations: 31.46 MB / 0.5658 GB, free: 80.71 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 5.630876617040485]