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.001393/0.001393, allocations: 72.08 kB / 21.69 MB, free: 2.855 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.001534/0.001534, allocations: 143.7 kB / 24.97 MB, free: 8.812 MB / 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 0.9058/0.9058, allocations: 173.3 MB / 201.5 MB, free: 9.344 MB / 186.7 MB " [Timeout remaining time 179] 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.583e-06/1.583e-06, allocations: 0 / 268.1 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.823e-05/2.982e-05, allocations: 6.25 kB / 268.1 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.1346/0.1346, allocations: 27.49 MB / 295.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01356/0.1482, allocations: 7.118 MB / 302.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006358/0.1545, allocations: 313.5 kB / 303 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0185/0.1731, allocations: 14.01 MB / 317 MB, free: 6.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008557/0.1816, allocations: 2.823 MB / 319.8 MB, free: 4.441 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004159/0.1858, allocations: 1.888 MB / 321.7 MB, free: 2.965 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.02005/0.2058, allocations: 18.92 MB / 340.6 MB, free: 1.977 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04255/0.2484, allocations: 28.19 MB / 368.8 MB, free: 5.555 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02692/0.2753, allocations: 15.27 MB / 384.1 MB, free: 6.297 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01559/0.2909, allocations: 10.93 MB / 395 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.007464/0.2983, allocations: 2.918 MB / 397.9 MB, free: 8.426 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01016/0.3085, allocations: 3.171 MB / 401.1 MB, free: 5.254 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008021/0.3165, allocations: 5.681 MB / 406.8 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01392/0.3304, allocations: 7.334 MB / 414.1 MB, free: 8.211 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02567/0.3561, allocations: 18.31 MB / 432.4 MB, free: 5.852 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3561, allocations: 0 / 432.4 MB, free: 5.852 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3561, allocations: 0 / 432.4 MB, free: 5.852 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0007809/0.3569, allocations: 0 / 432.4 MB, free: 5.852 MB / 378.7 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.2865/0.6434, allocations: 23.9 MB / 456.3 MB, free: 91.7 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.6435, allocations: 9.938 kB / 456.4 MB, free: 91.7 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02651/0.67, allocations: 10.84 MB / 467.2 MB, free: 83.89 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01487/0.6848, allocations: 11.1 MB / 478.3 MB, free: 74 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008662/0.6857, allocations: 1.342 MB / 479.6 MB, free: 72.67 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003879/0.6896, allocations: 1.766 MB / 481.4 MB, free: 70.92 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03969/0.7293, allocations: 15.23 MB / 496.6 MB, free: 55.58 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004636/0.7297, allocations: 12.94 kB / 496.6 MB, free: 55.57 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002186/0.7319, allocations: 0.7282 MB / 497.4 MB, free: 54.85 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006176/0.7325, allocations: 0.8454 MB / 498.2 MB, free: 54 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02859/0.7611, allocations: 7.24 MB / 0.4936 GB, free: 46.75 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1023/0.8635, allocations: 71.45 MB / 0.5634 GB, free: 7.742 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01678/0.8803, allocations: 10.23 MB / 0.5734 GB, free: 15.55 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005917/0.8862, allocations: 2.592 MB / 0.5759 GB, free: 12.95 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004178/0.8866, allocations: 148.4 kB / 0.576 GB, free: 12.8 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.69e-05/0.8867, allocations: 93.91 kB / 0.5761 GB, free: 12.7 MB / 426.8 MB Notification: Performance of pre-optimization done (n=577): time 1.04e-05/0.8867, allocations: 0 / 0.5761 GB, free: 12.7 MB / 426.8 MB Notification: Performance of matching and sorting (n=577): time 0.02388/0.9106, allocations: 8.434 MB / 0.5844 GB, free: 4.223 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/0.9106, allocations: 133.6 kB / 0.5845 GB, free: 4.07 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2553/1.166, allocations: 6.325 MB / 0.5907 GB, free: 108.5 MB / 426.9 MB Notification: Performance of collectPreVariables (initialization): time 0.001072/1.167, allocations: 117.9 kB / 0.5908 GB, free: 108.5 MB / 426.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.005652/1.173, allocations: 8.393 MB / 0.599 GB, free: 105.6 MB / 426.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.002263/1.175, allocations: 2.18 MB / 0.6011 GB, free: 104.2 MB / 426.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00259/1.178, allocations: 2.436 MB / 0.6035 GB, free: 104.1 MB / 426.9 MB Notification: Performance of setup shared object (initialization): time 3.604e-05/1.178, allocations: 481.3 kB / 0.6039 GB, free: 103.6 MB / 426.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002692/1.18, allocations: 1.388 MB / 0.6053 GB, free: 103.6 MB / 426.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004315/1.185, allocations: 8.592 MB / 0.6137 GB, free: 94.84 MB / 426.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007577/1.192, allocations: 11.01 MB / 0.6244 GB, free: 86.02 MB / 426.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.521e-05/1.192, allocations: 43.34 kB / 0.6245 GB, free: 86.02 MB / 426.9 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.01197/1.204, allocations: 8.924 MB / 0.6332 GB, free: 85.29 MB / 426.9 MB Notification: Performance of prepare postOptimizeDAE: time 7.05e-05/1.204, allocations: 79.5 kB / 0.6333 GB, free: 85.28 MB / 426.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001175/1.204, allocations: 161.8 kB / 0.6334 GB, free: 85.28 MB / 426.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00348/1.208, allocations: 1.602 MB / 0.635 GB, free: 85.17 MB / 426.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004673/1.213, allocations: 2.351 MB / 0.6373 GB, free: 85.17 MB / 426.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01049/1.223, allocations: 7.287 MB / 0.6444 GB, free: 82.88 MB / 426.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007074/1.23, allocations: 1.37 MB / 0.6457 GB, free: 82.22 MB / 426.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001229/1.231, allocations: 0.5259 MB / 0.6463 GB, free: 82.22 MB / 426.9 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.00448/1.236, allocations: 0.8825 MB / 0.6471 GB, free: 81.96 MB / 426.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001343/1.237, allocations: 0.8068 MB / 0.6479 GB, free: 81.61 MB / 426.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009593/1.247, allocations: 5.867 MB / 0.6536 GB, free: 78.35 MB / 426.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006246/1.253, allocations: 3.374 MB / 0.6569 GB, free: 75.27 MB / 426.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/1.253, allocations: 12.88 kB / 0.6569 GB, free: 75.26 MB / 426.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.753e-05/1.253, allocations: 26.58 kB / 0.657 GB, free: 75.26 MB / 426.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04075/1.294, allocations: 18.22 MB / 0.6748 GB, free: 59.28 MB / 426.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.191e-05/1.294, allocations: 8 kB / 0.6748 GB, free: 59.27 MB / 426.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002939/1.297, allocations: 1.009 MB / 0.6758 GB, free: 58.49 MB / 426.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003532/1.3, allocations: 1.405 MB / 0.6771 GB, free: 57.48 MB / 426.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007036/1.301, allocations: 132 kB / 0.6773 GB, free: 57.36 MB / 426.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007161/1.308, allocations: 6.931 MB / 0.684 GB, free: 50.9 MB / 426.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.308, allocations: 11.09 kB / 0.684 GB, free: 50.89 MB / 426.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008703/1.317, allocations: 6.322 MB / 0.6902 GB, free: 44.23 MB / 426.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001958/1.319, allocations: 1.264 MB / 0.6915 GB, free: 42.96 MB / 426.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005446/1.319, allocations: 116 kB / 0.6916 GB, free: 42.85 MB / 426.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/1.321, allocations: 315.6 kB / 0.6919 GB, free: 42.54 MB / 426.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005533/1.321, allocations: 426.6 kB / 0.6923 GB, free: 42.13 MB / 426.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002087/1.322, allocations: 172 kB / 0.6924 GB, free: 41.96 MB / 426.9 MB Notification: Performance of sorting global known variables: time 0.003274/1.325, allocations: 2.614 MB / 0.695 GB, free: 39.38 MB / 426.9 MB Notification: Performance of sort global known variables: time 8e-08/1.325, allocations: 0 / 0.695 GB, free: 39.38 MB / 426.9 MB Notification: Performance of remove unused functions: time 0.008794/1.334, allocations: 4.106 MB / 0.699 GB, free: 35.25 MB / 426.9 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.0008333/1.335, allocations: 329.8 kB / 0.6993 GB, free: 34.99 MB / 426.9 MB Notification: Performance of simCode: created initialization part: time 0.009082/1.344, allocations: 6.526 MB / 0.7057 GB, free: 28.88 MB / 426.9 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/1.344, allocations: 4 kB / 0.7057 GB, free: 28.88 MB / 426.9 MB Notification: Performance of simCode: created simulation system equations: time 0.003265/1.347, allocations: 2.739 MB / 0.7084 GB, free: 26.22 MB / 426.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004505/1.351, allocations: 1.486 MB / 0.7098 GB, free: 24.8 MB / 426.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03329/1.385, allocations: 24.75 MB / 0.734 GB, free: 15.75 MB / 442.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005357/1.39, allocations: 4.904 MB / 0.7388 GB, free: 10.8 MB / 442.9 MB Notification: Performance of simCode: alias equations: time 0.0058/1.396, allocations: 3.198 MB / 0.7419 GB, free: 7.594 MB / 442.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/1.397, allocations: 0.5082 MB / 0.7424 GB, free: 7.082 MB / 442.9 MB Notification: Performance of SimCode: time 2.284e-06/1.397, allocations: 0 / 0.7424 GB, free: 7.082 MB / 442.9 MB Notification: Performance of Templates: time 0.2636/1.661, allocations: 89.27 MB / 0.8296 GB, free: 62.83 MB / 442.9 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 240] 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","",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.038341330131516]