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.0017/0.0017, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001997/0.001997, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.528/1.528, allocations: 230.5 MB / 258.1 MB, free: 7.793 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.001965/0.001965, allocations: 67.83 kB / 379 MB, free: 2.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2439, allocations: 53.41 MB / 432.4 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009594/0.2535, allocations: 6.939 MB / 439.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005173/0.2587, allocations: 2.613 MB / 441.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007444/0.2594, allocations: 87.38 kB / 442 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.2606, allocations: 0.582 MB / 442.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00171/0.2624, allocations: 0.7809 MB / 443.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008219/0.2632, allocations: 431.3 kB / 443.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003392/0.2666, allocations: 3.308 MB / 447.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002573/0.2691, allocations: 1.945 MB / 449.1 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002871/0.272, allocations: 1.72 MB / 450.8 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002901/0.2749, allocations: 2.028 MB / 452.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006867/0.2756, allocations: 464 kB / 453.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.2768, allocations: 0.6441 MB / 453.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001357/0.2782, allocations: 1.27 MB / 455.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002294/0.2805, allocations: 1.595 MB / 456.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007094/0.2875, allocations: 6.162 MB / 462.9 MB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.086e-06/0.2876, allocations: 0 / 462.9 MB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2876, allocations: 0 / 462.9 MB, free: 7.828 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001766/0.2877, allocations: 4 kB / 462.9 MB, free: 7.824 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.00872/0.2965, allocations: 3.836 MB / 466.8 MB, free: 3.934 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.2965, allocations: 8.031 kB / 466.8 MB, free: 3.926 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/0.2979, allocations: 454.5 kB / 467.2 MB, free: 3.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004326/0.3022, allocations: 2.111 MB / 469.3 MB, free: 1.328 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001997/0.3024, allocations: 226.2 kB / 469.6 MB, free: 1.105 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004543/0.3028, allocations: 284.1 kB / 469.8 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007213/0.3101, allocations: 4.473 MB / 474.3 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.429e-05/0.3101, allocations: 0 / 474.3 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002825/0.3104, allocations: 128 kB / 474.4 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001901/0.3106, allocations: 145.9 kB / 474.6 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006025/0.3166, allocations: 3.513 MB / 478.1 MB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01697/0.3336, allocations: 9.268 MB / 487.4 MB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00258/0.3362, allocations: 1.663 MB / 489 MB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00251/0.3387, allocations: 1.403 MB / 490.4 MB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002185/0.3389, allocations: 48.95 kB / 490.5 MB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.905e-05/0.3389, allocations: 47.56 kB / 490.5 MB, free: 11.83 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 3.687e-06/0.3389, allocations: 0 / 490.5 MB, free: 11.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.009341/0.3483, allocations: 5.117 MB / 495.6 MB, free: 6.684 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/0.3484, allocations: 90.42 kB / 495.7 MB, free: 6.578 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002609/0.351, allocations: 1.729 MB / 497.5 MB, free: 4.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001273/0.3511, allocations: 49.7 kB / 497.5 MB, free: 4.785 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001064/0.3522, allocations: 1.372 MB / 498.9 MB, free: 3.402 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004326/0.3526, allocations: 487.8 kB / 499.4 MB, free: 2.922 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004496/0.353, allocations: 267.5 kB / 499.6 MB, free: 2.652 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3532, allocations: 309.1 kB / 499.9 MB, free: 2.348 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.3545, allocations: 0.8159 MB / 0.489 GB, free: 1.531 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001649/0.3562, allocations: 1.204 MB / 0.4902 GB, free: 184 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002952/0.3591, allocations: 2.082 MB / 0.4922 GB, free: 13.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.3591, allocations: 11.94 kB / 0.4922 GB, free: 13.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004389/0.3635, allocations: 2.504 MB / 0.4947 GB, free: 11.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.3635, allocations: 8 kB / 0.4947 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.151e-05/0.3636, allocations: 15.94 kB / 0.4947 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001805/0.3654, allocations: 479.1 kB / 0.4951 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.3667, allocations: 331.5 kB / 0.4955 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005944/0.3727, allocations: 4.196 MB / 0.4996 GB, free: 6.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.3741, allocations: 87.97 kB / 0.4996 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000165/0.3743, allocations: 63.98 kB / 0.4997 GB, free: 6.172 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.001816/0.3761, allocations: 1.055 MB / 0.5007 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00047/0.3766, allocations: 178.9 kB / 0.5009 GB, free: 4.934 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003792/0.3804, allocations: 2.124 MB / 0.503 GB, free: 2.793 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-05/0.3804, allocations: 19.98 kB / 0.503 GB, free: 2.773 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.3804, allocations: 8 kB / 0.503 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.3805, allocations: 7.969 kB / 0.503 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008807/0.3893, allocations: 4.484 MB / 0.5074 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.3893, allocations: 4 kB / 0.5074 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.3903, allocations: 227.9 kB / 0.5076 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001779/0.3921, allocations: 456.3 kB / 0.508 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/0.3922, allocations: 39.92 kB / 0.5081 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005598/0.3978, allocations: 4.107 MB / 0.5121 GB, free: 9.277 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.3978, allocations: 7.938 kB / 0.5121 GB, free: 9.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005507/0.4033, allocations: 3.244 MB / 0.5153 GB, free: 5.984 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/0.4045, allocations: 366.8 kB / 0.5156 GB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003631/0.4049, allocations: 31.98 kB / 0.5157 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.406, allocations: 91.97 kB / 0.5157 GB, free: 5.504 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002415/0.4063, allocations: 108.7 kB / 0.5158 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.4064, allocations: 39.94 kB / 0.5159 GB, free: 5.355 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002219/0.4086, allocations: 1.19 MB / 0.517 GB, free: 4.168 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4086, allocations: 0 / 0.517 GB, free: 4.168 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002001/0.4106, allocations: 0.5623 MB / 0.5176 GB, free: 3.605 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.0006617/0.4113, allocations: 231.2 kB / 0.5178 GB, free: 3.379 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00397/0.4152, allocations: 2.122 MB / 0.5199 GB, free: 1.246 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.4152, allocations: 0 / 0.5199 GB, free: 1.246 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002096/0.4173, allocations: 1.156 MB / 0.521 GB, free: 76 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002329/0.4197, allocations: 415.8 kB / 0.5214 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/0.4305, allocations: 5.807 MB / 0.5271 GB, free: 9.797 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002323/0.4329, allocations: 1.811 MB / 0.5289 GB, free: 7.949 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006771/0.4335, allocations: 139.4 kB / 0.529 GB, free: 7.812 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4335, allocations: 3.938 kB / 0.529 GB, free: 7.809 MB / 446.1 MB Notification: Performance of Templates: time 0.2584/0.6919, allocations: 50.85 MB / 0.5786 GB, free: 64.79 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.37116294214502]