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.001317/0.001317, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001413/0.001413, allocations: 208.7 kB / 24.51 MB, free: 3.941 MB / 14.72 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 1.439/1.439, allocations: 230.5 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 59.91 kB / 378.5 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3101, allocations: 53.4 MB / 431.9 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.0301/0.3402, allocations: 24.49 MB / 456.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01726/0.3575, allocations: 6.996 MB / 463.4 MB, free: 6.852 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007269/0.3647, allocations: 310.4 kB / 463.7 MB, free: 6.547 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03014/0.3949, allocations: 12.21 MB / 475.9 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01128/0.4061, allocations: 2.621 MB / 478.5 MB, free: 7.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007503/0.4136, allocations: 2.058 MB / 480.6 MB, free: 5.637 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02636/0.44, allocations: 18.52 MB / 499.1 MB, free: 3.055 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06486/0.5049, allocations: 28.4 MB / 0.5152 GB, free: 6.426 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01846/0.5233, allocations: 10.15 MB / 0.5251 GB, free: 12.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02024/0.5436, allocations: 11.14 MB / 0.5359 GB, free: 1.082 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.4823/1.026, allocations: 2.918 MB / 0.5388 GB, free: 39.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01337/1.039, allocations: 3.192 MB / 0.5419 GB, free: 39.19 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009681/1.049, allocations: 5.49 MB / 0.5473 GB, free: 39.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02412/1.073, allocations: 8.375 MB / 0.5555 GB, free: 38.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03889/1.112, allocations: 39.27 MB / 0.5938 GB, free: 19.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/1.112, allocations: 0.8125 kB / 0.5938 GB, free: 19.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/1.112, allocations: 0 / 0.5938 GB, free: 19.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001144/1.113, allocations: 0.7812 kB / 0.5938 GB, free: 19.54 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.06645/1.18, allocations: 22.24 MB / 0.6155 GB, free: 2.262 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/1.18, allocations: 8.031 kB / 0.6155 GB, free: 2.254 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004983/1.18, allocations: 0.5334 MB / 0.6161 GB, free: 1.719 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01187/1.192, allocations: 2.965 MB / 0.619 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04757/1.24, allocations: 8.242 MB / 0.627 GB, free: 6.574 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02852/1.268, allocations: 11.9 MB / 0.6386 GB, free: 11.07 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001714/1.27, allocations: 1.341 MB / 0.6399 GB, free: 9.742 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007906/1.278, allocations: 1.757 MB / 0.6416 GB, free: 7.996 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08307/1.361, allocations: 29.04 MB / 0.67 GB, free: 10.86 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006823/1.361, allocations: 27.89 kB / 0.67 GB, free: 10.84 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005699/1.367, allocations: 0.7264 MB / 0.6707 GB, free: 10.12 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009582/1.368, allocations: 0.8493 MB / 0.6716 GB, free: 9.27 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05985/1.428, allocations: 24.85 MB / 0.6958 GB, free: 412 kB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4382/1.866, allocations: 78.89 MB / 0.7729 GB, free: 102 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0205/1.887, allocations: 12.78 MB / 0.7854 GB, free: 101.7 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007011/1.894, allocations: 5.049 MB / 0.7903 GB, free: 101.6 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004698/1.894, allocations: 144.2 kB / 0.7904 GB, free: 101.6 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.916e-05/1.894, allocations: 110.1 kB / 0.7905 GB, free: 101.5 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=585): time 1.033e-05/1.894, allocations: 4 kB / 0.7905 GB, free: 101.5 MB / 0.5607 GB Notification: Performance of matching and sorting (n=681): time 0.07193/1.966, allocations: 34.13 MB / 0.8239 GB, free: 92.24 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.741e-05/1.966, allocations: 156.9 kB / 0.824 GB, free: 92.13 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01002/1.976, allocations: 6.418 MB / 0.8303 GB, free: 88.77 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001141/1.977, allocations: 133 kB / 0.8304 GB, free: 88.65 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.004144/1.981, allocations: 7.901 MB / 0.8381 GB, free: 81.77 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002628/1.984, allocations: 2.462 MB / 0.8405 GB, free: 79.66 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003481/1.988, allocations: 2.245 MB / 0.8427 GB, free: 77.59 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.638e-05/1.988, allocations: 305.1 kB / 0.843 GB, free: 77.29 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007104/1.995, allocations: 5.296 MB / 0.8482 GB, free: 71.99 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01012/2.005, allocations: 10.1 MB / 0.8581 GB, free: 59.72 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01729/2.022, allocations: 16.61 MB / 0.8743 GB, free: 41.48 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001804/2.022, allocations: 44 kB / 0.8743 GB, free: 41.43 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1434) (initialization): time 0.02728/2.05, allocations: 17.53 MB / 0.8914 GB, free: 24.86 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.000121/2.05, allocations: 72 kB / 0.8915 GB, free: 24.79 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002744/2.05, allocations: 166 kB / 0.8917 GB, free: 24.63 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009892/2.06, allocations: 3.11 MB / 0.8947 GB, free: 21.52 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008468/2.068, allocations: 2.404 MB / 0.897 GB, free: 19.29 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02628/2.095, allocations: 22.79 MB / 0.9193 GB, free: 12.41 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008173/2.103, allocations: 0.6552 MB / 0.9199 GB, free: 11.76 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002467/2.105, allocations: 0.5663 MB / 0.9205 GB, free: 11.19 MB / 0.5763 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 (1262): * Single equations (assignments): 1258 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,80,80.6%), (6,80,80.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01638/2.122, allocations: 7.27 MB / 0.9276 GB, free: 4.09 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001919/2.124, allocations: 0.6753 MB / 0.9282 GB, free: 3.41 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02218/2.146, allocations: 12.41 MB / 0.9404 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01807/2.164, allocations: 9.863 MB / 0.95 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-05/2.164, allocations: 24 kB / 0.95 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000135/2.164, allocations: 35.86 kB / 0.9501 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3489/2.513, allocations: 29.12 MB / 0.9785 GB, free: 217.2 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001163/2.513, allocations: 11.84 kB / 0.9785 GB, free: 217.2 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005561/2.519, allocations: 1.061 MB / 0.9795 GB, free: 217.2 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01052/2.529, allocations: 2.875 MB / 0.9823 GB, free: 217.2 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001195/2.53, allocations: 152.4 kB / 0.9825 GB, free: 217.2 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02648/2.557, allocations: 21.08 MB / 1.003 GB, free: 211.4 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.47e-05/2.557, allocations: 19.22 kB / 1.003 GB, free: 211.4 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02428/2.581, allocations: 17.26 MB / 1.02 GB, free: 204.1 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004046/2.585, allocations: 1.526 MB / 1.021 GB, free: 203.7 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001626/2.587, allocations: 127.8 kB / 1.022 GB, free: 203.6 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003975/2.591, allocations: 342.2 kB / 1.022 GB, free: 203.6 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001216/2.592, allocations: 0.5228 MB / 1.022 GB, free: 203.5 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004084/2.592, allocations: 203 kB / 1.023 GB, free: 203.4 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.00725/2.6, allocations: 4.307 MB / 1.027 GB, free: 201.9 MB / 0.6232 GB Notification: Performance of sort global known variables: time 4e-07/2.6, allocations: 3.719 kB / 1.027 GB, free: 201.9 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.0128/2.612, allocations: 2.948 MB / 1.03 GB, free: 201.6 MB / 0.6232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * 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 (553): * Single equations (assignments): 549 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,80,75.0%), (6,74,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02628/2.639, allocations: 18.07 MB / 1.047 GB, free: 186.8 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.01963/2.658, allocations: 13 MB / 1.06 GB, free: 175.6 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 2.092e-05/2.658, allocations: 0 / 1.06 GB, free: 175.6 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.009449/2.668, allocations: 5.735 MB / 1.066 GB, free: 170.5 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01045/2.678, allocations: 1.606 MB / 1.067 GB, free: 168.9 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1673/2.846, allocations: 101.9 MB / 1.167 GB, free: 60.07 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02455/2.87, allocations: 11.2 MB / 1.178 GB, free: 48.82 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.009479/2.88, allocations: 3.806 MB / 1.181 GB, free: 45.01 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01111/2.891, allocations: 6.006 MB / 1.187 GB, free: 39 MB / 0.6232 GB Notification: Performance of SimCode: time 1.693e-06/2.891, allocations: 4 kB / 1.187 GB, free: 39 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.559/3.45, allocations: 230.5 MB / 1.412 GB, free: 75.45 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 51.29/54.74, allocations: 15.23 kB / 1.412 GB, free: 75.44 MB / 0.6232 GB " [Timeout remaining time 605] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 58.0327178100124]