Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.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.001007/0.001007, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 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.0009768/0.0009768, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9564/0.9564, allocations: 177 MB / 205.1 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.709e-05, allocations: 5.266 kB / 273.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.1346/0.1346, allocations: 26.5 MB / 299.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01348/0.1481, allocations: 7.161 MB / 307 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006194/0.1543, allocations: 314.4 kB / 307.3 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01415/0.1684, allocations: 13.61 MB / 320.9 MB, free: 1.113 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009907/0.1784, allocations: 2.682 MB / 323.6 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005477/0.1838, allocations: 2.047 MB / 325.7 MB, free: 13.32 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0182/0.202, allocations: 19.11 MB / 344.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04027/0.2423, allocations: 28.21 MB / 373 MB, free: 13.73 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0205/0.2628, allocations: 15.27 MB / 388.2 MB, free: 14.46 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01476/0.2776, allocations: 11.18 MB / 399.4 MB, free: 3.266 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006845/0.2844, allocations: 2.922 MB / 402.3 MB, free: 352 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009124/0.2935, allocations: 3.202 MB / 405.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006888/0.3004, allocations: 5.681 MB / 411.2 MB, free: 7.445 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0127/0.3131, allocations: 7.33 MB / 418.6 MB, free: 104 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2677/0.5808, allocations: 18.33 MB / 436.9 MB, free: 67.41 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.5808, allocations: 0.6094 kB / 436.9 MB, free: 67.41 MB / 378.8 MB Notification: Performance of FrontEnd: time 8.62e-07/0.5808, allocations: 1.125 kB / 436.9 MB, free: 67.41 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0006957/0.5815, allocations: 0 / 436.9 MB, free: 67.41 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.0335/0.615, allocations: 22.55 MB / 459.4 MB, free: 61.92 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.615, allocations: 11.61 kB / 459.4 MB, free: 61.91 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02173/0.6368, allocations: 8.299 MB / 467.7 MB, free: 60.8 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01446/0.6512, allocations: 10.31 MB / 478.1 MB, free: 55.75 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007088/0.6519, allocations: 1.344 MB / 479.4 MB, free: 55.14 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003777/0.6557, allocations: 1.754 MB / 481.2 MB, free: 54.57 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0268/0.6825, allocations: 14.06 MB / 495.2 MB, free: 42.69 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000319/0.6828, allocations: 23.8 kB / 495.2 MB, free: 42.67 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001667/0.6845, allocations: 0.7256 MB / 496 MB, free: 41.96 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003969/0.6849, allocations: 0.8454 MB / 496.8 MB, free: 41.11 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01242/0.6973, allocations: 5.745 MB / 0.4908 GB, free: 35.35 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1044/0.8017, allocations: 70.35 MB / 0.5595 GB, free: 14.95 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009709/0.8114, allocations: 8.962 MB / 0.5682 GB, free: 8.137 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002925/0.8143, allocations: 2.328 MB / 0.5705 GB, free: 5.855 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003313/0.8147, allocations: 231.4 kB / 0.5707 GB, free: 5.629 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.243e-05/0.8147, allocations: 93.91 kB / 0.5708 GB, free: 5.523 MB / 426.8 MB Notification: Performance of pre-optimization done (n=577): time 7.294e-06/0.8147, allocations: 0 / 0.5708 GB, free: 5.523 MB / 426.8 MB Notification: Performance of matching and sorting (n=577): time 0.0149/0.8296, allocations: 7.794 MB / 0.5784 GB, free: 13.69 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.8297, allocations: 133.6 kB / 0.5786 GB, free: 13.54 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006894/0.8366, allocations: 6.22 MB / 0.5846 GB, free: 8.172 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004025/0.837, allocations: 121.7 kB / 0.5847 GB, free: 8.047 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.1582/0.9952, allocations: 8.404 MB / 0.593 GB, free: 125.4 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003059/0.9982, allocations: 2.199 MB / 0.5951 GB, free: 125.2 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003943/1.002, allocations: 2.471 MB / 0.5975 GB, free: 125 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 5.029e-05/1.002, allocations: 479.2 kB / 0.598 GB, free: 124.6 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002167/1.004, allocations: 1.075 MB / 0.599 GB, free: 124.6 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004073/1.008, allocations: 8.326 MB / 0.6072 GB, free: 115.8 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007528/1.016, allocations: 10.55 MB / 0.6175 GB, free: 107 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002341/1.016, allocations: 46.09 kB / 0.6175 GB, free: 107 MB / 442.8 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.01117/1.027, allocations: 8.192 MB / 0.6255 GB, free: 106.3 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.125e-05/1.028, allocations: 78.69 kB / 0.6256 GB, free: 106.3 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002387/1.028, allocations: 161.9 kB / 0.6257 GB, free: 106.3 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003377/1.031, allocations: 1.569 MB / 0.6273 GB, free: 106.2 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004378/1.035, allocations: 2.2 MB / 0.6294 GB, free: 106.2 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006511/1.042, allocations: 6.934 MB / 0.6362 GB, free: 103.9 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005462/1.047, allocations: 1.178 MB / 0.6373 GB, free: 103.5 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00121/1.049, allocations: 465.2 kB / 0.6378 GB, free: 103.5 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.004101/1.053, allocations: 0.8869 MB / 0.6386 GB, free: 103.2 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001138/1.054, allocations: 0.8077 MB / 0.6394 GB, free: 102.8 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005727/1.06, allocations: 5.438 MB / 0.6447 GB, free: 99.72 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003268/1.063, allocations: 2.947 MB / 0.6476 GB, free: 97.47 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/1.063, allocations: 12 kB / 0.6476 GB, free: 97.46 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.05e-05/1.063, allocations: 30 kB / 0.6477 GB, free: 97.46 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02396/1.087, allocations: 17.42 MB / 0.6647 GB, free: 87.75 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/1.087, allocations: 8 kB / 0.6647 GB, free: 87.75 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/1.089, allocations: 0.8593 MB / 0.6655 GB, free: 87.04 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002755/1.091, allocations: 1.383 MB / 0.6669 GB, free: 86.07 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000239/1.092, allocations: 135.3 kB / 0.667 GB, free: 85.95 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005284/1.097, allocations: 6.575 MB / 0.6734 GB, free: 80.05 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/1.097, allocations: 20.03 kB / 0.6734 GB, free: 80.04 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006187/1.103, allocations: 5.642 MB / 0.6789 GB, free: 74.73 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001681/1.105, allocations: 1.158 MB / 0.6801 GB, free: 73.71 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004375/1.105, allocations: 119.1 kB / 0.6802 GB, free: 73.59 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/1.106, allocations: 142.4 kB / 0.6803 GB, free: 73.46 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004452/1.107, allocations: 432.5 kB / 0.6807 GB, free: 73.25 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002127/1.107, allocations: 138 kB / 0.6809 GB, free: 73.12 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.002699/1.11, allocations: 2.435 MB / 0.6832 GB, free: 71.13 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.5e-07/1.11, allocations: 0 / 0.6832 GB, free: 71.13 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.009156/1.119, allocations: 4.099 MB / 0.6872 GB, free: 67.02 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.0006856/1.12, allocations: 331.7 kB / 0.6876 GB, free: 66.76 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.008599/1.128, allocations: 6.011 MB / 0.6934 GB, free: 61.28 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/1.128, allocations: 0 / 0.6934 GB, free: 61.28 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003103/1.131, allocations: 2.529 MB / 0.6959 GB, free: 58.89 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005005/1.136, allocations: 1.498 MB / 0.6974 GB, free: 57.5 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03286/1.169, allocations: 24.42 MB / 0.7212 GB, free: 32.88 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003104/1.172, allocations: 4.904 MB / 0.726 GB, free: 27.93 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.00299/1.175, allocations: 1.117 MB / 0.7271 GB, free: 26.81 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002226/1.178, allocations: 1.537 MB / 0.7286 GB, free: 25.27 MB / 442.8 MB Notification: Performance of SimCode: time 1.542e-06/1.178, allocations: 1.094 kB / 0.7286 GB, free: 25.27 MB / 442.8 MB Notification: Performance of Templates: time 0.2714/1.449, allocations: 98.67 MB / 0.825 GB, free: 75.07 MB / 442.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","",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.8465946819633245]