Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001519/0.001519, allocations: 112.4 kB / 21.18 MB, free: 0.6211 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.001711/0.001711, allocations: 207.1 kB / 24.47 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.401/1.401, allocations: 230.4 MB / 258.1 MB, free: 8.141 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.83 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.219, allocations: 53.32 MB / 432.1 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009972/0.229, allocations: 7.847 MB / 439.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005305/0.2343, allocations: 2.734 MB / 442.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000861/0.2352, allocations: 71.62 kB / 442.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.2364, allocations: 0.5898 MB / 443.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001723/0.2382, allocations: 0.7575 MB / 444.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000859/0.239, allocations: 419.4 kB / 444.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003517/0.2425, allocations: 3.288 MB / 447.8 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002527/0.2451, allocations: 1.999 MB / 449.8 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00264/0.2477, allocations: 1.684 MB / 451.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002721/0.2504, allocations: 2.079 MB / 453.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005822/0.251, allocations: 460 kB / 454 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.2521, allocations: 0.6753 MB / 454.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001191/0.2533, allocations: 1.251 MB / 455.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001974/0.2552, allocations: 1.976 MB / 457.9 MB, free: 13.47 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006215/0.2615, allocations: 6.12 MB / 464 MB, free: 7.332 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2615, allocations: 4 kB / 464 MB, free: 7.328 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.2615, allocations: 3.984 kB / 464 MB, free: 7.324 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001025/0.2616, allocations: 0 / 464 MB, free: 7.324 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.008026/0.2696, allocations: 3.88 MB / 467.9 MB, free: 3.371 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.2696, allocations: 8.031 kB / 467.9 MB, free: 3.363 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.2711, allocations: 458.5 kB / 468.3 MB, free: 2.914 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004182/0.2753, allocations: 2.191 MB / 470.5 MB, free: 0.668 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/0.2754, allocations: 217.8 kB / 470.7 MB, free: 464 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004342/0.2759, allocations: 291.9 kB / 471 MB, free: 172 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006869/0.2827, allocations: 4.195 MB / 475.2 MB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.105e-05/0.2828, allocations: 0 / 475.2 MB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002893/0.2831, allocations: 120 kB / 475.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001712/0.2833, allocations: 141.9 kB / 475.5 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006018/0.2893, allocations: 3.49 MB / 479 MB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01861/0.3079, allocations: 10.79 MB / 489.8 MB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002974/0.3109, allocations: 2.564 MB / 492.3 MB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002527/0.3134, allocations: 1.411 MB / 493.7 MB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002458/0.3136, allocations: 130 kB / 493.9 MB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.3137, allocations: 47.56 kB / 493.9 MB, free: 8.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 3.566e-06/0.3137, allocations: 0 / 493.9 MB, free: 8.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.009232/0.3229, allocations: 5.196 MB / 499.1 MB, free: 3.547 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.323, allocations: 98.42 kB / 499.2 MB, free: 3.434 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002687/0.3256, allocations: 1.91 MB / 0.4894 GB, free: 1.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.3258, allocations: 53.7 kB / 0.4894 GB, free: 1.461 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001081/0.3268, allocations: 1.365 MB / 0.4907 GB, free: 84 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004559/0.3273, allocations: 479.9 kB / 0.4912 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004469/0.3277, allocations: 271.5 kB / 0.4915 GB, free: 15.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3279, allocations: 305.1 kB / 0.4917 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001322/0.3292, allocations: 0.8159 MB / 0.4925 GB, free: 14.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001632/0.3308, allocations: 1.182 MB / 0.4937 GB, free: 12.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002983/0.3338, allocations: 2.082 MB / 0.4957 GB, free: 10.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.3338, allocations: 4 kB / 0.4957 GB, free: 10.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004692/0.3385, allocations: 2.527 MB / 0.4982 GB, free: 8.125 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.563e-05/0.3385, allocations: 15.94 kB / 0.4982 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.309e-05/0.3386, allocations: 8 kB / 0.4982 GB, free: 8.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002003/0.3406, allocations: 479 kB / 0.4987 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/0.342, allocations: 331.5 kB / 0.499 GB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00574/0.3478, allocations: 4.396 MB / 0.5033 GB, free: 2.781 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.3491, allocations: 79.92 kB / 0.5034 GB, free: 2.703 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.3492, allocations: 67.97 kB / 0.5034 GB, free: 2.637 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.001652/0.3509, allocations: 1.055 MB / 0.5045 GB, free: 1.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004135/0.3513, allocations: 206.8 kB / 0.5047 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003671/0.3549, allocations: 2.137 MB / 0.5068 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.355, allocations: 3.984 kB / 0.5068 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.355, allocations: 3.984 kB / 0.5068 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009954/0.356, allocations: 467.7 kB / 0.5072 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002379/0.3562, allocations: 28 kB / 0.5072 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009705/0.3572, allocations: 95.84 kB / 0.5073 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002006/0.3574, allocations: 93.16 kB / 0.5074 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004431/0.3618, allocations: 2.27 MB / 0.5096 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004681/0.3665, allocations: 3.131 MB / 0.5127 GB, free: 9.086 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001224/0.3677, allocations: 0.8222 MB / 0.5135 GB, free: 8.262 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002071/0.3698, allocations: 1.342 MB / 0.5148 GB, free: 6.926 MB / 430.1 MB Notification: Performance of Backend: time 1.9e-07/0.3698, allocations: 0 / 0.5148 GB, free: 6.926 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003696/0.3735, allocations: 1.594 MB / 0.5164 GB, free: 5.32 MB / 430.1 MB Notification: Performance of SimCode: time 0.009678/0.3832, allocations: 5.969 MB / 0.5222 GB, free: 15.29 MB / 446.1 MB Notification: Performance of Templates: time 0.2264/0.6096, allocations: 34.23 MB / 0.5556 GB, free: 93.48 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 6.661228433717042]