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.001375/0.001375, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001591/0.001591, allocations: 207.4 kB / 23.72 MB, free: 4.391 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.451/1.451, allocations: 230.5 MB / 257.4 MB, free: 7.773 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.002089/0.002089, allocations: 63.91 kB / 378.2 MB, free: 2.285 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2457, allocations: 53.4 MB / 431.6 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009485/0.2552, allocations: 6.947 MB / 438.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005411/0.2606, allocations: 2.601 MB / 441.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.2617, allocations: 91.38 kB / 441.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001515/0.2632, allocations: 0.582 MB / 441.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002228/0.2655, allocations: 0.7848 MB / 442.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.2665, allocations: 427.3 kB / 443.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003907/0.2704, allocations: 3.308 MB / 446.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003108/0.2735, allocations: 1.941 MB / 448.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003069/0.2766, allocations: 1.718 MB / 450 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003241/0.2798, allocations: 2.028 MB / 452.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006747/0.2805, allocations: 464 kB / 452.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001216/0.2817, allocations: 0.6519 MB / 453.2 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00133/0.283, allocations: 1.274 MB / 454.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001987/0.285, allocations: 1.587 MB / 456 MB, free: 14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006029/0.2911, allocations: 6.169 MB / 462.2 MB, free: 7.809 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2911, allocations: 0 / 462.2 MB, free: 7.809 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2911, allocations: 0 / 462.2 MB, free: 7.809 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.273e-05/0.2911, allocations: 0 / 462.2 MB, free: 7.809 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.007272/0.2984, allocations: 3.836 MB / 466 MB, free: 3.918 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.2984, allocations: 8.031 kB / 466 MB, free: 3.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.2998, allocations: 446.5 kB / 466.5 MB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003866/0.3037, allocations: 2.119 MB / 468.6 MB, free: 1.312 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001874/0.3039, allocations: 222.2 kB / 468.8 MB, free: 1.094 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004651/0.3043, allocations: 292 kB / 469.1 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007429/0.3118, allocations: 4.473 MB / 473.6 MB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.698e-05/0.3118, allocations: 0 / 473.6 MB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003089/0.3121, allocations: 116 kB / 473.7 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001967/0.3123, allocations: 153.9 kB / 473.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005968/0.3183, allocations: 3.505 MB / 477.3 MB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01669/0.335, allocations: 9.268 MB / 486.6 MB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002574/0.3375, allocations: 1.659 MB / 488.3 MB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002565/0.3401, allocations: 1.399 MB / 489.7 MB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002124/0.3403, allocations: 53.03 kB / 489.7 MB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/0.3404, allocations: 47.56 kB / 489.8 MB, free: 11.83 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 3.456e-06/0.3404, allocations: 0 / 489.8 MB, free: 11.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.009279/0.3496, allocations: 5.125 MB / 494.9 MB, free: 6.672 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.723e-05/0.3497, allocations: 90.42 kB / 495 MB, free: 6.566 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002566/0.3523, allocations: 1.722 MB / 496.7 MB, free: 4.836 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-05/0.3524, allocations: 45.7 kB / 496.7 MB, free: 4.785 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001054/0.3534, allocations: 1.376 MB / 498.1 MB, free: 3.398 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004058/0.3538, allocations: 487.9 kB / 498.6 MB, free: 2.918 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004424/0.3543, allocations: 271.5 kB / 498.9 MB, free: 2.645 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.3544, allocations: 305.1 kB / 499.2 MB, free: 2.344 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/0.3557, allocations: 0.8198 MB / 500 MB, free: 1.523 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001624/0.3574, allocations: 1.204 MB / 0.4894 GB, free: 176 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003029/0.3604, allocations: 2.086 MB / 0.4915 GB, free: 13.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.3604, allocations: 7.938 kB / 0.4915 GB, free: 13.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004356/0.3648, allocations: 2.512 MB / 0.4939 GB, free: 11.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.3648, allocations: 8 kB / 0.4939 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/0.3648, allocations: 12 kB / 0.494 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001803/0.3666, allocations: 475.1 kB / 0.4944 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.368, allocations: 335.5 kB / 0.4947 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005746/0.3737, allocations: 4.2 MB / 0.4988 GB, free: 6.305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.3749, allocations: 83.92 kB / 0.4989 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/0.3751, allocations: 60 kB / 0.499 GB, free: 6.164 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.001704/0.3768, allocations: 1.052 MB / 0.5 GB, free: 5.102 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004382/0.3772, allocations: 186.9 kB / 0.5002 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003748/0.3809, allocations: 2.124 MB / 0.5022 GB, free: 2.777 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.115e-05/0.381, allocations: 23.98 kB / 0.5023 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.381, allocations: 4 kB / 0.5023 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.381, allocations: 7.969 kB / 0.5023 GB, free: 2.742 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009259/0.3903, allocations: 4.48 MB / 0.5067 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.3903, allocations: 0 / 0.5067 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.3913, allocations: 227.7 kB / 0.5069 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001789/0.3931, allocations: 464.4 kB / 0.5073 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/0.3932, allocations: 31.89 kB / 0.5073 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005696/0.3989, allocations: 4.123 MB / 0.5114 GB, free: 9.254 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.3989, allocations: 0 / 0.5114 GB, free: 9.254 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00543/0.4044, allocations: 3.236 MB / 0.5145 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/0.4055, allocations: 370.8 kB / 0.5149 GB, free: 5.613 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003877/0.4059, allocations: 28 kB / 0.5149 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.407, allocations: 95.88 kB / 0.515 GB, free: 5.492 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/0.4072, allocations: 100.8 kB / 0.5151 GB, free: 5.391 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/0.4074, allocations: 51.92 kB / 0.5151 GB, free: 5.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002146/0.4095, allocations: 1.19 MB / 0.5163 GB, free: 4.152 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4095, allocations: 0 / 0.5163 GB, free: 4.152 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001966/0.4115, allocations: 0.5507 MB / 0.5168 GB, free: 3.602 MB / 430.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.0006318/0.4121, allocations: 234.9 kB / 0.5171 GB, free: 3.371 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003866/0.416, allocations: 2.121 MB / 0.5191 GB, free: 1.238 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.416, allocations: 4 kB / 0.5191 GB, free: 1.234 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002047/0.418, allocations: 1.156 MB / 0.5203 GB, free: 64 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002147/0.4202, allocations: 412.2 kB / 0.5207 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/0.4315, allocations: 5.82 MB / 0.5264 GB, free: 9.781 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002816/0.4343, allocations: 1.88 MB / 0.5282 GB, free: 7.863 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001576/0.4359, allocations: 473.8 kB / 0.5286 GB, free: 7.395 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005316/0.4364, allocations: 127.4 kB / 0.5288 GB, free: 7.27 MB / 446.1 MB Notification: Performance of SimCode: time 1.262e-06/0.4364, allocations: 0 / 0.5288 GB, free: 7.27 MB / 446.1 MB Notification: Performance of Templates: time 0.2467/0.6831, allocations: 30.94 MB / 0.559 GB, free: 86.42 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/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: 5.631868738681078]