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.001556/0.001556, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001556/0.001556, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.402/1.402, allocations: 225.6 MB / 250.8 MB, free: 13.39 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.001496/0.001496, allocations: 47.92 kB / 368.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2371, allocations: 52.15 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009995/0.2471, allocations: 7.843 MB / 428.7 MB, free: 7.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005922/0.253, allocations: 2.668 MB / 431.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001709/0.2547, allocations: 67.69 kB / 431.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.2564, allocations: 0.5912 MB / 432 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002454/0.2588, allocations: 0.7575 MB / 432.8 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.2598, allocations: 411.5 kB / 433.2 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003646/0.2635, allocations: 3.28 MB / 436.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002526/0.266, allocations: 1.999 MB / 438.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002627/0.2686, allocations: 1.668 MB / 440.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002572/0.2712, allocations: 2.083 MB / 442.2 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005648/0.2718, allocations: 460 kB / 442.7 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.2729, allocations: 0.687 MB / 443.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001178/0.274, allocations: 1.266 MB / 444.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001994/0.276, allocations: 1.964 MB / 446.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00604/0.2821, allocations: 6.112 MB / 452.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2821, allocations: 4 kB / 452.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2821, allocations: 0 / 452.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.753e-05/0.2822, allocations: 0 / 452.7 MB, free: 15.14 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.007596/0.2898, allocations: 3.884 MB / 456.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.2898, allocations: 12.03 kB / 456.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009453/0.2908, allocations: 414.5 kB / 457 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003543/0.2943, allocations: 2.164 MB / 459.2 MB, free: 8.555 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001912/0.2945, allocations: 229.8 kB / 459.4 MB, free: 8.328 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004542/0.2949, allocations: 284 kB / 459.7 MB, free: 8.051 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007331/0.3023, allocations: 4.187 MB / 463.9 MB, free: 3.812 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.106e-05/0.3023, allocations: 7.938 kB / 463.9 MB, free: 3.805 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002901/0.3026, allocations: 120 kB / 464 MB, free: 3.688 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001918/0.3028, allocations: 141.9 kB / 464.1 MB, free: 3.547 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00615/0.309, allocations: 3.49 MB / 467.6 MB, free: 48 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01939/0.3283, allocations: 10.78 MB / 478.4 MB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002997/0.3313, allocations: 2.561 MB / 481 MB, free: 2.301 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002471/0.3338, allocations: 1.415 MB / 482.4 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002583/0.3341, allocations: 118.1 kB / 482.5 MB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.014e-05/0.3341, allocations: 47.56 kB / 482.5 MB, free: 0.6953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.256e-06/0.3341, allocations: 0 / 482.5 MB, free: 0.6953 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.009657/0.3438, allocations: 5.212 MB / 487.8 MB, free: 11.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.465e-05/0.3439, allocations: 90.42 kB / 487.8 MB, free: 11.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00282/0.3467, allocations: 1.909 MB / 489.8 MB, free: 9.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.451e-05/0.3468, allocations: 45.7 kB / 489.8 MB, free: 9.359 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001018/0.3478, allocations: 1.357 MB / 491.2 MB, free: 7.988 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003876/0.3482, allocations: 479.9 kB / 491.6 MB, free: 7.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004469/0.3486, allocations: 271.5 kB / 491.9 MB, free: 7.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.3487, allocations: 305.1 kB / 492.2 MB, free: 6.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.35, allocations: 0.8236 MB / 493 MB, free: 6.117 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00158/0.3516, allocations: 1.182 MB / 494.2 MB, free: 4.789 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0029/0.3545, allocations: 2.082 MB / 496.3 MB, free: 2.566 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.3545, allocations: 8 kB / 496.3 MB, free: 2.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004361/0.3589, allocations: 2.516 MB / 498.8 MB, free: 32 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.3589, allocations: 20.17 kB / 498.8 MB, free: 12 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.304e-05/0.3589, allocations: 15.97 kB / 498.8 MB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00194/0.3609, allocations: 476.3 kB / 499.3 MB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.3622, allocations: 335.5 kB / 499.6 MB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005981/0.3681, allocations: 4.404 MB / 0.4922 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.3696, allocations: 87.98 kB / 0.4923 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/0.3698, allocations: 63.98 kB / 0.4924 GB, free: 10.51 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.002059/0.3718, allocations: 1.051 MB / 0.4934 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005973/0.3724, allocations: 194.8 kB / 0.4936 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003738/0.3761, allocations: 2.145 MB / 0.4957 GB, free: 7.098 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.579e-05/0.3762, allocations: 16 kB / 0.4957 GB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.3762, allocations: 4 kB / 0.4957 GB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.3762, allocations: 7.969 kB / 0.4957 GB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008895/0.3851, allocations: 5.158 MB / 0.5007 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.3851, allocations: 0 / 0.5007 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.3861, allocations: 231.6 kB / 0.501 GB, free: 1.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001839/0.388, allocations: 464.9 kB / 0.5014 GB, free: 1.133 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.532e-05/0.3881, allocations: 31.98 kB / 0.5014 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00564/0.3937, allocations: 4.3 MB / 0.5056 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.3937, allocations: 0 / 0.5056 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005666/0.3994, allocations: 3.256 MB / 0.5088 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/0.4005, allocations: 463.8 kB / 0.5092 GB, free: 8.891 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002478/0.4007, allocations: 31.94 kB / 0.5093 GB, free: 8.859 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000997/0.4017, allocations: 99.95 kB / 0.5094 GB, free: 8.762 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002829/0.402, allocations: 92.8 kB / 0.5095 GB, free: 8.672 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.4021, allocations: 40 kB / 0.5095 GB, free: 8.633 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002022/0.4041, allocations: 1.338 MB / 0.5108 GB, free: 7.301 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4041, allocations: 0 / 0.5108 GB, free: 7.301 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001701/0.4058, allocations: 0.5585 MB / 0.5114 GB, free: 6.742 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.0006278/0.4065, allocations: 237.6 kB / 0.5116 GB, free: 6.512 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003613/0.4101, allocations: 2.118 MB / 0.5136 GB, free: 4.383 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4101, allocations: 4.75 kB / 0.5137 GB, free: 4.379 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001984/0.4121, allocations: 1.152 MB / 0.5148 GB, free: 3.215 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/0.4143, allocations: 0.5005 MB / 0.5153 GB, free: 2.715 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009635/0.4239, allocations: 5.837 MB / 0.521 GB, free: 12.81 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002503/0.4264, allocations: 2.427 MB / 0.5233 GB, free: 10.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001573/0.428, allocations: 495.4 kB / 0.5238 GB, free: 9.867 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004024/0.4284, allocations: 131.4 kB / 0.5239 GB, free: 9.738 MB / 446.1 MB Notification: Performance of SimCode: time 1.312e-06/0.4284, allocations: 0 / 0.5239 GB, free: 9.738 MB / 446.1 MB Notification: Performance of Templates: time 0.2458/0.6742, allocations: 31.51 MB / 0.5547 GB, free: 96.04 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/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: 5.447697808966041]