Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 207.8 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 7.801 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 51.92 kB / 378.2 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2954, allocations: 53.36 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009259/0.3047, allocations: 6.911 MB / 438.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006003/0.3107, allocations: 2.605 MB / 441.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002048/0.3127, allocations: 87.38 kB / 441.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001827/0.3146, allocations: 0.582 MB / 441.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002879/0.3174, allocations: 0.7731 MB / 442.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.3188, allocations: 427.4 kB / 443 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004924/0.3237, allocations: 3.288 MB / 446.2 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003042/0.3267, allocations: 2.004 MB / 448.2 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003514/0.3303, allocations: 1.712 MB / 450 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004198/0.3345, allocations: 2.083 MB / 452 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001061/0.3355, allocations: 460 kB / 452.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001622/0.3371, allocations: 0.6636 MB / 453.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001422/0.3386, allocations: 1.255 MB / 454.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002671/0.3412, allocations: 1.595 MB / 456 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007264/0.3485, allocations: 6.147 MB / 462.2 MB, free: 8.012 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.3485, allocations: 4 kB / 462.2 MB, free: 8.008 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3485, allocations: 3.938 kB / 462.2 MB, free: 8.004 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001496/0.3487, allocations: 0 / 462.2 MB, free: 8.004 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.009423/0.3581, allocations: 3.813 MB / 466 MB, free: 4.137 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.3581, allocations: 12.03 kB / 466 MB, free: 4.125 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/0.3596, allocations: 450.5 kB / 466.4 MB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004693/0.3643, allocations: 2.119 MB / 468.5 MB, free: 1.523 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002057/0.3645, allocations: 225.8 kB / 468.8 MB, free: 1.301 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005076/0.365, allocations: 284 kB / 469 MB, free: 1.023 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008173/0.3732, allocations: 4.442 MB / 473.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.06e-05/0.3733, allocations: 8 kB / 473.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003183/0.3736, allocations: 120 kB / 473.6 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002085/0.3738, allocations: 145.8 kB / 473.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006251/0.38, allocations: 3.478 MB / 477.2 MB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01827/0.3983, allocations: 9.224 MB / 486.5 MB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002569/0.4009, allocations: 1.652 MB / 488.1 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002477/0.4033, allocations: 1.403 MB / 489.5 MB, free: 12.26 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002151/0.4036, allocations: 48.84 kB / 489.6 MB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.056e-05/0.4036, allocations: 51.56 kB / 489.6 MB, free: 12.15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 3.967e-06/0.4036, allocations: 0 / 489.6 MB, free: 12.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.00951/0.4131, allocations: 5.113 MB / 494.7 MB, free: 7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.4132, allocations: 90.42 kB / 494.8 MB, free: 6.895 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002458/0.4157, allocations: 1.725 MB / 496.5 MB, free: 5.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.497e-05/0.4158, allocations: 53.64 kB / 496.6 MB, free: 5.102 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001014/0.4168, allocations: 1.372 MB / 498 MB, free: 3.719 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004009/0.4172, allocations: 471.9 kB / 498.4 MB, free: 3.254 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004798/0.4176, allocations: 271.5 kB / 498.7 MB, free: 2.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.4178, allocations: 313 kB / 499 MB, free: 2.672 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/0.4192, allocations: 0.812 MB / 499.8 MB, free: 1.859 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/0.4207, allocations: 1.207 MB / 0.4893 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002843/0.4236, allocations: 2.082 MB / 0.4913 GB, free: 14.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.4236, allocations: 4 kB / 0.4913 GB, free: 14.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004199/0.4278, allocations: 2.508 MB / 0.4938 GB, free: 11.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.4278, allocations: 8.188 kB / 0.4938 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/0.4278, allocations: 20 kB / 0.4938 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001995/0.4298, allocations: 482.9 kB / 0.4942 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.4312, allocations: 323.5 kB / 0.4945 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005704/0.4369, allocations: 4.21 MB / 0.4987 GB, free: 6.633 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.4382, allocations: 83.88 kB / 0.4987 GB, free: 6.551 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/0.4383, allocations: 63.97 kB / 0.4988 GB, free: 6.488 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.001907/0.4402, allocations: 1.055 MB / 0.4998 GB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004582/0.4407, allocations: 178.9 kB / 0.5 GB, free: 5.246 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003782/0.4444, allocations: 2.128 MB / 0.5021 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.955e-05/0.4445, allocations: 19.98 kB / 0.5021 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.4445, allocations: 7.938 kB / 0.5021 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.4445, allocations: 3.984 kB / 0.5021 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008482/0.453, allocations: 4.476 MB / 0.5065 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.453, allocations: 8.203 kB / 0.5065 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.454, allocations: 227.7 kB / 0.5067 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00197/0.456, allocations: 456.7 kB / 0.5071 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.77e-05/0.4561, allocations: 31.98 kB / 0.5072 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005541/0.4616, allocations: 4.122 MB / 0.5112 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.4616, allocations: 3.938 kB / 0.5112 GB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005367/0.467, allocations: 3.244 MB / 0.5144 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/0.4683, allocations: 366.8 kB / 0.5147 GB, free: 5.941 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002399/0.4685, allocations: 28 kB / 0.5147 GB, free: 5.914 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.4695, allocations: 95.95 kB / 0.5148 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002457/0.4698, allocations: 96.81 kB / 0.5149 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/0.4699, allocations: 39.98 kB / 0.515 GB, free: 5.684 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001901/0.4718, allocations: 1.193 MB / 0.5161 GB, free: 4.492 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4718, allocations: 0 / 0.5161 GB, free: 4.492 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001898/0.4737, allocations: 0.5468 MB / 0.5167 GB, free: 3.945 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.0006045/0.4743, allocations: 227.8 kB / 0.5169 GB, free: 3.719 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003832/0.4781, allocations: 2.133 MB / 0.519 GB, free: 1.574 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.351e-06/0.4781, allocations: 0 / 0.519 GB, free: 1.574 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002066/0.4802, allocations: 1.157 MB / 0.5201 GB, free: 412 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002207/0.4824, allocations: 419.3 kB / 0.5205 GB, free: 15.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/0.493, allocations: 5.796 MB / 0.5262 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002303/0.4953, allocations: 1.864 MB / 0.528 GB, free: 8.234 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00143/0.4968, allocations: 469.9 kB / 0.5284 GB, free: 7.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004147/0.4972, allocations: 127.4 kB / 0.5285 GB, free: 7.645 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4972, allocations: 0 / 0.5285 GB, free: 7.645 MB / 446.1 MB Notification: Performance of Templates: time 0.264/0.7612, allocations: 31.56 MB / 0.5594 GB, free: 86.48 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.734129725955427]