Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002277/0.002277, allocations: 186 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.7 MB / 253.3 MB, free: 12.87 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 47.92 kB / 371.6 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2291, allocations: 52.17 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009442/0.2385, allocations: 6.913 MB / 430.7 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005395/0.2439, allocations: 2.535 MB / 433.3 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/0.2451, allocations: 87.38 kB / 433.4 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00143/0.2465, allocations: 0.5742 MB / 433.9 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002236/0.2487, allocations: 0.7731 MB / 434.7 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009293/0.2497, allocations: 419.4 kB / 435.1 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003838/0.2535, allocations: 3.28 MB / 438.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002724/0.2562, allocations: 1.953 MB / 440.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003114/0.2593, allocations: 1.691 MB / 442 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003441/0.2628, allocations: 2.028 MB / 444.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008066/0.2636, allocations: 460 kB / 444.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00139/0.265, allocations: 0.6518 MB / 445.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001303/0.2663, allocations: 1.266 MB / 446.4 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002207/0.2685, allocations: 1.587 MB / 448 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007084/0.2756, allocations: 6.139 MB / 454.2 MB, free: 20 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.2756, allocations: 0 / 454.2 MB, free: 20 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2756, allocations: 0 / 454.2 MB, free: 20 kB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001549/0.2757, allocations: 0 / 454.2 MB, free: 20 kB / 350.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.008584/0.2843, allocations: 3.801 MB / 458 MB, free: 12.17 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.2844, allocations: 15.91 kB / 458 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.2854, allocations: 406.6 kB / 458.4 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004288/0.2897, allocations: 2.115 MB / 460.5 MB, free: 9.598 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/0.2899, allocations: 225.8 kB / 460.7 MB, free: 9.375 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005017/0.2904, allocations: 288 kB / 461 MB, free: 9.094 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008288/0.2987, allocations: 4.438 MB / 465.4 MB, free: 4.543 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.745e-05/0.2987, allocations: 0 / 465.4 MB, free: 4.543 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000324/0.299, allocations: 116 kB / 465.5 MB, free: 4.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001899/0.2992, allocations: 141.9 kB / 465.7 MB, free: 4.289 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00641/0.3056, allocations: 3.486 MB / 469.2 MB, free: 0.793 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0195/0.3252, allocations: 9.24 MB / 478.4 MB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002786/0.3279, allocations: 1.633 MB / 480 MB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002562/0.3305, allocations: 1.403 MB / 481.4 MB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002412/0.3307, allocations: 52.89 kB / 481.5 MB, free: 4.289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.477e-05/0.3308, allocations: 51.67 kB / 481.5 MB, free: 4.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 4.088e-06/0.3308, allocations: 3.938 kB / 481.5 MB, free: 4.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.009819/0.3406, allocations: 5.113 MB / 486.7 MB, free: 15.08 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.542e-05/0.3407, allocations: 94.41 kB / 486.7 MB, free: 14.97 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002673/0.3434, allocations: 1.713 MB / 488.5 MB, free: 13.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001553/0.3435, allocations: 49.7 kB / 488.5 MB, free: 13.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001044/0.3446, allocations: 1.364 MB / 489.9 MB, free: 11.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004461/0.345, allocations: 479.9 kB / 490.3 MB, free: 11.35 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004477/0.3455, allocations: 267.5 kB / 490.6 MB, free: 11.08 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3456, allocations: 313.1 kB / 490.9 MB, free: 10.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/0.347, allocations: 0.812 MB / 491.7 MB, free: 9.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001663/0.3486, allocations: 1.207 MB / 492.9 MB, free: 8.602 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003014/0.3517, allocations: 2.082 MB / 495 MB, free: 6.375 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.3517, allocations: 4 kB / 495 MB, free: 6.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004383/0.356, allocations: 2.512 MB / 497.5 MB, free: 3.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.3561, allocations: 8 kB / 497.5 MB, free: 3.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.3561, allocations: 15.98 kB / 497.5 MB, free: 3.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001778/0.3579, allocations: 476.2 kB / 498 MB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.3592, allocations: 327.5 kB / 498.3 MB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007494/0.3667, allocations: 4.211 MB / 0.4908 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/0.3686, allocations: 87.88 kB / 0.4908 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002831/0.3689, allocations: 56 kB / 0.4909 GB, free: 14.59 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.002648/0.3715, allocations: 1.052 MB / 0.4919 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007948/0.3723, allocations: 186.9 kB / 0.4921 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005721/0.378, allocations: 2.128 MB / 0.4942 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.457e-05/0.3781, allocations: 16 kB / 0.4942 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.72e-05/0.3781, allocations: 4 kB / 0.4942 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.3781, allocations: 11.91 kB / 0.4942 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01285/0.391, allocations: 4.479 MB / 0.4986 GB, free: 6.617 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.391, allocations: 4 kB / 0.4986 GB, free: 6.613 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001478/0.3925, allocations: 227.7 kB / 0.4988 GB, free: 6.391 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002448/0.3949, allocations: 457 kB / 0.4992 GB, free: 5.941 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001484/0.3951, allocations: 31.98 kB / 0.4993 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00862/0.4037, allocations: 4.115 MB / 0.5033 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.513e-06/0.4037, allocations: 3.938 kB / 0.5033 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008171/0.4119, allocations: 3.232 MB / 0.5065 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00162/0.4135, allocations: 366.8 kB / 0.5068 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005452/0.414, allocations: 32.05 kB / 0.5068 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001711/0.4157, allocations: 99.83 kB / 0.5069 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000355/0.4161, allocations: 96.8 kB / 0.507 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000174/0.4163, allocations: 39.98 kB / 0.5071 GB, free: 13.79 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003029/0.4193, allocations: 1.189 MB / 0.5082 GB, free: 12.61 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4193, allocations: 0 / 0.5082 GB, free: 12.61 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003064/0.4224, allocations: 0.5546 MB / 0.5088 GB, free: 12.05 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.0008242/0.4232, allocations: 235.1 kB / 0.509 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004533/0.4277, allocations: 2.11 MB / 0.511 GB, free: 9.695 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.4277, allocations: 4 kB / 0.5111 GB, free: 9.691 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002135/0.4299, allocations: 1.152 MB / 0.5122 GB, free: 8.523 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/0.4323, allocations: 418.7 kB / 0.5126 GB, free: 8.117 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.4438, allocations: 5.788 MB / 0.5182 GB, free: 2.266 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002732/0.4465, allocations: 1.807 MB / 0.52 GB, free: 432 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007308/0.4473, allocations: 135.3 kB / 0.5201 GB, free: 296 kB / 430.1 MB Notification: Performance of SimCode: time 9.91e-07/0.4473, allocations: 4 kB / 0.5201 GB, free: 292 kB / 430.1 MB Notification: Performance of Templates: time 0.2366/0.6838, allocations: 50.62 MB / 0.5696 GB, free: 81.89 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 12.77710292628035]