Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.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.001319/0.001319, 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 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.001491/0.001491, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.433/1.433, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 43.92 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2671, allocations: 53.37 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.03071/0.2978, allocations: 24.51 MB / 456.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01546/0.3133, allocations: 7.028 MB / 463.9 MB, free: 7.023 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00624/0.3195, allocations: 314.4 kB / 464.2 MB, free: 6.715 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02983/0.3493, allocations: 12.2 MB / 476.4 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01023/0.3596, allocations: 2.61 MB / 479 MB, free: 7.871 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006231/0.3658, allocations: 2.029 MB / 481 MB, free: 5.855 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02352/0.3893, allocations: 18.54 MB / 499.6 MB, free: 3.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05295/0.4423, allocations: 28.1 MB / 0.5153 GB, free: 6.926 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01671/0.459, allocations: 10.16 MB / 0.5252 GB, free: 12.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01845/0.4774, allocations: 10.83 MB / 0.5358 GB, free: 1.883 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.3792/0.8567, allocations: 2.918 MB / 0.5386 GB, free: 40.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00849/0.8651, allocations: 3.183 MB / 0.5418 GB, free: 40.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007109/0.8722, allocations: 5.493 MB / 0.5471 GB, free: 40.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01546/0.8877, allocations: 8.366 MB / 0.5553 GB, free: 39.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03374/0.9215, allocations: 39.28 MB / 0.5936 GB, free: 20.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.9215, allocations: 2 kB / 0.5937 GB, free: 20.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.9215, allocations: 3.719 kB / 0.5937 GB, free: 20.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009796/0.9224, allocations: 0 / 0.5937 GB, free: 20.24 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.05753/0.98, allocations: 22.24 MB / 0.6154 GB, free: 3.188 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.98, allocations: 12.03 kB / 0.6154 GB, free: 3.176 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04469/1.025, allocations: 8.241 MB / 0.6234 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02734/1.052, allocations: 11.89 MB / 0.635 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001477/1.054, allocations: 1.34 MB / 0.6363 GB, free: 14.18 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006147/1.06, allocations: 1.762 MB / 0.6381 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07186/1.132, allocations: 29.01 MB / 0.6664 GB, free: 15.32 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008025/1.132, allocations: 19.84 kB / 0.6664 GB, free: 15.3 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005417/1.138, allocations: 0.7242 MB / 0.6671 GB, free: 14.59 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001085/1.139, allocations: 0.8493 MB / 0.668 GB, free: 13.73 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05501/1.194, allocations: 24.76 MB / 0.6921 GB, free: 4.953 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3488/1.543, allocations: 76.08 MB / 0.7664 GB, free: 141.4 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01765/1.56, allocations: 12.79 MB / 0.7789 GB, free: 141 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007014/1.567, allocations: 5.034 MB / 0.7838 GB, free: 140.9 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003977/1.568, allocations: 146.4 kB / 0.784 GB, free: 140.9 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.407e-05/1.568, allocations: 100.1 kB / 0.7841 GB, free: 140.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 8.957e-06/1.568, allocations: 0 / 0.7841 GB, free: 140.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.03012/1.598, allocations: 14.67 MB / 0.7984 GB, free: 139.7 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.633e-05/1.598, allocations: 137 kB / 0.7985 GB, free: 139.6 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008742/1.607, allocations: 6.496 MB / 0.8049 GB, free: 137.3 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008551/1.608, allocations: 119.5 kB / 0.805 GB, free: 137.2 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003467/1.611, allocations: 7.896 MB / 0.8127 GB, free: 131.1 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001801/1.613, allocations: 2.112 MB / 0.8148 GB, free: 129.3 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002814/1.616, allocations: 2.116 MB / 0.8168 GB, free: 128.1 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.634e-05/1.616, allocations: 305.1 kB / 0.8171 GB, free: 127.8 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005985/1.622, allocations: 4.74 MB / 0.8218 GB, free: 125.2 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00857/1.63, allocations: 9.497 MB / 0.831 GB, free: 116.2 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01486/1.645, allocations: 15.33 MB / 0.846 GB, free: 98.51 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001502/1.645, allocations: 44 kB / 0.846 GB, free: 98.46 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02347/1.669, allocations: 15.4 MB / 0.8611 GB, free: 82.98 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/1.669, allocations: 72 kB / 0.8611 GB, free: 82.91 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002655/1.669, allocations: 160 kB / 0.8613 GB, free: 82.76 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005177/1.674, allocations: 1.653 MB / 0.8629 GB, free: 81.1 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008207/1.682, allocations: 2.363 MB / 0.8652 GB, free: 78.73 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01294/1.695, allocations: 11.24 MB / 0.8762 GB, free: 67.39 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007921/1.703, allocations: 1.362 MB / 0.8775 GB, free: 66.03 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001993/1.705, allocations: 0.5429 MB / 0.8781 GB, free: 65.48 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (1243): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01156/1.717, allocations: 7.149 MB / 0.885 GB, free: 58.32 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001202/1.718, allocations: 0.6209 MB / 0.8856 GB, free: 57.69 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01415/1.732, allocations: 10.07 MB / 0.8955 GB, free: 47.5 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01405/1.746, allocations: 7.769 MB / 0.9031 GB, free: 39.65 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.392e-05/1.746, allocations: 12 kB / 0.9031 GB, free: 39.64 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.603e-05/1.746, allocations: 27.89 kB / 0.9031 GB, free: 39.61 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04094/1.787, allocations: 21.77 MB / 0.9244 GB, free: 17.72 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.301e-05/1.787, allocations: 8 kB / 0.9244 GB, free: 17.71 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003959/1.791, allocations: 1.018 MB / 0.9254 GB, free: 16.69 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004621/1.796, allocations: 1.461 MB / 0.9268 GB, free: 15.23 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009031/1.797, allocations: 135.9 kB / 0.9269 GB, free: 15.1 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01193/1.809, allocations: 10.8 MB / 0.9375 GB, free: 4.195 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/1.809, allocations: 11.94 kB / 0.9375 GB, free: 4.184 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02326/1.832, allocations: 14.12 MB / 0.9513 GB, free: 5.715 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004786/1.837, allocations: 1.427 MB / 0.9527 GB, free: 4.281 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001474/1.838, allocations: 108 kB / 0.9528 GB, free: 4.176 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003448/1.842, allocations: 315.7 kB / 0.9531 GB, free: 3.867 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009006/1.843, allocations: 428.1 kB / 0.9535 GB, free: 3.445 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003991/1.843, allocations: 176 kB / 0.9536 GB, free: 3.273 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.008478/1.852, allocations: 4.157 MB / 0.9577 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/1.852, allocations: 0 / 0.9577 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01356/1.865, allocations: 4.098 MB / 0.9617 GB, free: 11.03 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 1 (source.plug_p.reference.gamma) * 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 (528): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001502/1.867, allocations: 332.1 kB / 0.962 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.2306/2.097, allocations: 10.95 MB / 0.9727 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.769e-05/2.097, allocations: 5.375 kB / 0.9727 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007901/2.105, allocations: 4.342 MB / 0.977 GB, free: 195 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006869/2.112, allocations: 1.457 MB / 0.9784 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04976/2.162, allocations: 29.19 MB / 1.007 GB, free: 186.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01539/2.177, allocations: 10.58 MB / 1.017 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002288/2.179, allocations: 0.6106 MB / 1.018 GB, free: 181.2 MB / 0.5919 GB Notification: Performance of SimCode: time 1.503e-06/2.179, allocations: 0 / 1.018 GB, free: 181.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.5473/2.727, allocations: 289.5 MB / 1.3 GB, free: 106.5 MB / 0.5919 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.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: 21.485797233879566]