Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.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.001426/0.001426, allocations: 92.62 kB / 20.96 MB, free: 3.477 MB / 18.57 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.001524/0.001524, allocations: 153.4 kB / 24.26 MB, free: 184 kB / 18.57 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.47/1.47, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 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.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.63e-05, allocations: 2.312 kB / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.1363/0.1364, allocations: 24.52 MB / 291.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0132/0.1496, allocations: 7.033 MB / 298.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005617/0.1552, allocations: 314.3 kB / 299.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0253/0.1805, allocations: 12.92 MB / 312.1 MB, free: 9.035 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008995/0.1895, allocations: 2.815 MB / 314.9 MB, free: 6.992 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004773/0.1942, allocations: 1.868 MB / 316.8 MB, free: 5.516 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.02191/0.2162, allocations: 18.92 MB / 335.7 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06038/0.2765, allocations: 28.19 MB / 363.9 MB, free: 8.758 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03152/0.3081, allocations: 15.11 MB / 379 MB, free: 9.652 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0212/0.3293, allocations: 9.758 MB / 388.8 MB, free: 15.88 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00763/0.3369, allocations: 2.918 MB / 391.7 MB, free: 12.96 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01115/0.348, allocations: 3.167 MB / 394.9 MB, free: 9.789 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009463/0.3575, allocations: 5.58 MB / 400.4 MB, free: 4.195 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01683/0.3743, allocations: 7.229 MB / 407.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2864/0.6607, allocations: 39.52 MB / 447.2 MB, free: 65.37 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.6607, allocations: 0 / 447.2 MB, free: 65.37 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.403e-06/0.6607, allocations: 0.5625 kB / 447.2 MB, free: 65.37 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.001023/0.6617, allocations: 0 / 447.2 MB, free: 65.37 MB / 378.8 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.06186/0.7236, allocations: 22.06 MB / 469.2 MB, free: 56.61 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.7236, allocations: 7.781 kB / 469.2 MB, free: 56.61 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04806/0.7717, allocations: 10.84 MB / 480.1 MB, free: 51.91 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0246/0.7963, allocations: 12.38 MB / 492.5 MB, free: 40.73 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001082/0.7974, allocations: 1.349 MB / 493.8 MB, free: 39.39 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007164/0.8045, allocations: 1.757 MB / 495.6 MB, free: 37.64 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06795/0.8725, allocations: 28.97 MB / 0.5122 GB, free: 8.57 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008648/0.8733, allocations: 15.14 kB / 0.5123 GB, free: 8.559 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006608/0.88, allocations: 0.7298 MB / 0.513 GB, free: 7.84 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007088/0.8807, allocations: 0.8454 MB / 0.5138 GB, free: 6.992 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05959/0.9403, allocations: 24.71 MB / 0.5379 GB, free: 14.26 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3172/1.257, allocations: 78.44 MB / 0.6145 GB, free: 108.2 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01848/1.276, allocations: 12.81 MB / 0.627 GB, free: 107.8 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007165/1.283, allocations: 5.04 MB / 0.632 GB, free: 107.7 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004094/1.283, allocations: 140.4 kB / 0.6321 GB, free: 107.6 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.654e-05/1.284, allocations: 101.1 kB / 0.6322 GB, free: 107.6 MB / 442.8 MB Notification: Performance of pre-optimization done (n=577): time 9.288e-06/1.284, allocations: 0 / 0.6322 GB, free: 107.6 MB / 442.8 MB Notification: Performance of matching and sorting (n=577): time 0.03108/1.315, allocations: 14.83 MB / 0.6467 GB, free: 104.3 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.002e-05/1.315, allocations: 140.3 kB / 0.6468 GB, free: 104.2 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008378/1.323, allocations: 6.496 MB / 0.6532 GB, free: 100.9 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009281/1.324, allocations: 119.4 kB / 0.6533 GB, free: 100.8 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003247/1.327, allocations: 7.864 MB / 0.661 GB, free: 93.94 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001723/1.329, allocations: 2.08 MB / 0.663 GB, free: 92.16 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002506/1.331, allocations: 2.075 MB / 0.665 GB, free: 90.96 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 3.819e-05/1.332, allocations: 309.1 kB / 0.6653 GB, free: 90.66 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00544/1.337, allocations: 4.736 MB / 0.6699 GB, free: 86.9 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007274/1.344, allocations: 9.491 MB / 0.6792 GB, free: 75.23 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01381/1.358, allocations: 15.3 MB / 0.6941 GB, free: 57.84 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001366/1.358, allocations: 48 kB / 0.6942 GB, free: 57.79 MB / 442.8 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02178/1.38, allocations: 15.88 MB / 0.7097 GB, free: 41.83 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001522/1.38, allocations: 79.94 kB / 0.7098 GB, free: 41.75 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002297/1.38, allocations: 160 kB / 0.7099 GB, free: 41.59 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006687/1.387, allocations: 1.979 MB / 0.7119 GB, free: 39.61 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007172/1.394, allocations: 2.347 MB / 0.7141 GB, free: 37.26 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01349/1.408, allocations: 11.34 MB / 0.7252 GB, free: 25.84 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007651/1.415, allocations: 1.358 MB / 0.7265 GB, free: 24.47 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001372/1.417, allocations: 0.5273 MB / 0.7271 GB, free: 23.94 MB / 442.8 MB 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.009556/1.426, allocations: 7.141 MB / 0.734 GB, free: 16.78 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001331/1.428, allocations: 0.8123 MB / 0.7348 GB, free: 15.96 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/1.44, allocations: 10.07 MB / 0.7447 GB, free: 5.777 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1462/1.586, allocations: 7.73 MB / 0.7522 GB, free: 131.8 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-05/1.586, allocations: 13 kB / 0.7522 GB, free: 131.8 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001426/1.586, allocations: 28.59 kB / 0.7523 GB, free: 131.8 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03711/1.624, allocations: 21.73 MB / 0.7735 GB, free: 127.7 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-05/1.624, allocations: 7.594 kB / 0.7735 GB, free: 127.7 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003662/1.627, allocations: 1.01 MB / 0.7745 GB, free: 127.6 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006467/1.634, allocations: 1.784 MB / 0.7762 GB, free: 127.3 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005445/1.634, allocations: 122.9 kB / 0.7763 GB, free: 127.2 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01298/1.647, allocations: 10.89 MB / 0.787 GB, free: 121.6 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/1.647, allocations: 11.47 kB / 0.787 GB, free: 121.6 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01827/1.665, allocations: 14.26 MB / 0.8009 GB, free: 114.6 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003686/1.669, allocations: 1.42 MB / 0.8023 GB, free: 113.3 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001282/1.67, allocations: 111.8 kB / 0.8024 GB, free: 113.2 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003047/1.673, allocations: 320.9 kB / 0.8027 GB, free: 112.9 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007796/1.674, allocations: 419.2 kB / 0.8031 GB, free: 112.7 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003231/1.675, allocations: 167.5 kB / 0.8033 GB, free: 112.6 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.005281/1.68, allocations: 4.152 MB / 0.8073 GB, free: 109.2 MB / 442.8 MB Notification: Performance of sort global known variables: time 1e-07/1.68, allocations: 3.938 kB / 0.8073 GB, free: 109.2 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01118/1.691, allocations: 4.102 MB / 0.8113 GB, free: 105.1 MB / 442.8 MB 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.001058/1.692, allocations: 336.4 kB / 0.8116 GB, free: 104.8 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01374/1.706, allocations: 10.93 MB / 0.8223 GB, free: 94.77 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/1.706, allocations: 4 kB / 0.8223 GB, free: 94.76 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005566/1.711, allocations: 4.34 MB / 0.8266 GB, free: 90.41 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006544/1.718, allocations: 1.484 MB / 0.828 GB, free: 89 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04544/1.763, allocations: 30.31 MB / 0.8576 GB, free: 58.39 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01498/1.778, allocations: 10.93 MB / 0.8683 GB, free: 47.39 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.008169/1.787, allocations: 3.851 MB / 0.872 GB, free: 43.53 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001548/1.788, allocations: 0.5121 MB / 0.8725 GB, free: 43.02 MB / 442.8 MB Notification: Performance of SimCode: time 1.543e-06/1.788, allocations: 0 / 0.8725 GB, free: 43.02 MB / 442.8 MB Notification: Performance of Templates: time 0.3305/2.119, allocations: 89.85 MB / 0.9603 GB, free: 95.74 MB / 442.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 9.311974255018868]