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.00177/0.00177, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001971/0.001971, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.495/1.495, allocations: 230.2 MB / 254.5 MB, free: 15.41 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 63.89 kB / 373.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09825/0.1001, allocations: 53.32 MB / 426.7 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.2313/0.3314, allocations: 28.72 MB / 455.4 MB, free: 7.566 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01438/0.3458, allocations: 7.209 MB / 462.6 MB, free: 6.246 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006676/0.3524, allocations: 263 kB / 462.9 MB, free: 6.195 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02667/0.3791, allocations: 13.23 MB / 476.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01192/0.391, allocations: 2.557 MB / 478.6 MB, free: 14.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007105/0.3981, allocations: 2.034 MB / 480.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02579/0.4239, allocations: 18.3 MB / 499 MB, free: 2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06857/0.4925, allocations: 34.25 MB / 0.5207 GB, free: 1.441 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0197/0.5122, allocations: 9.957 MB / 0.5304 GB, free: 7.469 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02043/0.5326, allocations: 11.12 MB / 0.5413 GB, free: 12.31 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008566/0.5412, allocations: 2.918 MB / 0.5442 GB, free: 9.395 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0118/0.553, allocations: 3.199 MB / 0.5473 GB, free: 6.199 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009357/0.5623, allocations: 5.495 MB / 0.5526 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02047/0.5828, allocations: 10.82 MB / 0.5632 GB, free: 5.828 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05252/0.6353, allocations: 39.1 MB / 0.6014 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.395e-06/0.6353, allocations: 0 / 0.6014 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.505e-06/0.6353, allocations: 4 kB / 0.6014 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.001145/0.6365, allocations: 0 / 0.6014 GB, free: 14.6 MB / 0.4981 GB 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.07018/0.7067, allocations: 22.31 MB / 0.6232 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.467e-05/0.7067, allocations: 12.03 kB / 0.6232 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01182/0.7186, allocations: 2.962 MB / 0.6261 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4721/1.191, allocations: 8.239 MB / 0.6341 GB, free: 132 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02959/1.22, allocations: 11.67 MB / 0.6455 GB, free: 128.1 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001673/1.222, allocations: 1.342 MB / 0.6469 GB, free: 127.5 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007515/1.229, allocations: 1.758 MB / 0.6486 GB, free: 126.9 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0681/1.297, allocations: 28.77 MB / 0.6767 GB, free: 113.9 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006271/1.298, allocations: 23.62 kB / 0.6767 GB, free: 113.8 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005042/1.303, allocations: 0.7327 MB / 0.6774 GB, free: 113.3 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000631/1.304, allocations: 0.846 MB / 0.6782 GB, free: 113.1 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04453/1.348, allocations: 24.83 MB / 0.7025 GB, free: 90.64 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1243/1.473, allocations: 87.52 MB / 0.788 GB, free: 2.395 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03412/1.507, allocations: 34.6 MB / 0.8217 GB, free: 12.51 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00945/1.516, allocations: 5.041 MB / 0.8267 GB, free: 7.461 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006894/1.517, allocations: 331.2 kB / 0.827 GB, free: 7.133 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.341e-05/1.517, allocations: 95.08 kB / 0.8271 GB, free: 7.027 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 7.494e-06/1.517, allocations: 4 kB / 0.8271 GB, free: 7.023 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.03544/1.552, allocations: 14.77 MB / 0.8415 GB, free: 8.137 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/1.552, allocations: 137.6 kB / 0.8416 GB, free: 7.98 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0115/1.564, allocations: 6.429 MB / 0.8479 GB, free: 1.684 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0009994/1.565, allocations: 117.7 kB / 0.848 GB, free: 1.562 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.4282/1.993, allocations: 7.9 MB / 0.8557 GB, free: 174.8 MB / 0.5764 GB Notification: Performance of collectInitialBindings (initialization): time 0.002414/1.996, allocations: 2.102 MB / 0.8578 GB, free: 173.7 MB / 0.5764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003526/1.999, allocations: 2.114 MB / 0.8599 GB, free: 173.6 MB / 0.5764 GB Notification: Performance of setup shared object (initialization): time 5.513e-05/1.999, allocations: 304.9 kB / 0.8601 GB, free: 173.3 MB / 0.5764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007756/2.007, allocations: 4.745 MB / 0.8648 GB, free: 172.6 MB / 0.5764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01045/2.017, allocations: 9.473 MB / 0.874 GB, free: 164.7 MB / 0.5764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01822/2.036, allocations: 15.34 MB / 0.889 GB, free: 153.6 MB / 0.5764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002974/2.036, allocations: 47.56 kB / 0.8891 GB, free: 153.6 MB / 0.5764 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02631/2.062, allocations: 15.41 MB / 0.9041 GB, free: 147.4 MB / 0.5764 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001599/2.062, allocations: 82.14 kB / 0.9042 GB, free: 147.4 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002921/2.063, allocations: 160.6 kB / 0.9043 GB, free: 147.4 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00504/2.068, allocations: 1.654 MB / 0.9059 GB, free: 147.1 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007974/2.076, allocations: 2.361 MB / 0.9083 GB, free: 146.8 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01316/2.089, allocations: 11.61 MB / 0.9196 GB, free: 140.6 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008253/2.097, allocations: 1.371 MB / 0.9209 GB, free: 139.8 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001892/2.099, allocations: 0.5378 MB / 0.9215 GB, free: 139.7 MB / 0.5764 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.01291/2.112, allocations: 7.145 MB / 0.9284 GB, free: 136.4 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001607/2.113, allocations: 0.644 MB / 0.9291 GB, free: 136 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01463/2.128, allocations: 10.07 MB / 0.9389 GB, free: 128.5 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01014/2.138, allocations: 7.763 MB / 0.9465 GB, free: 121.7 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.298e-05/2.138, allocations: 15.94 kB / 0.9465 GB, free: 121.7 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.265e-05/2.138, allocations: 28.08 kB / 0.9465 GB, free: 121.7 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04163/2.18, allocations: 25.7 MB / 0.9716 GB, free: 95.87 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.218e-05/2.18, allocations: 8.969 kB / 0.9716 GB, free: 95.86 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003551/2.184, allocations: 1.014 MB / 0.9726 GB, free: 94.84 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0047/2.188, allocations: 1.467 MB / 0.9741 GB, free: 93.37 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006353/2.189, allocations: 136 kB / 0.9742 GB, free: 93.24 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01193/2.201, allocations: 11.16 MB / 0.9851 GB, free: 81.96 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/2.201, allocations: 19.88 kB / 0.9851 GB, free: 81.94 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01642/2.217, allocations: 14.13 MB / 0.9989 GB, free: 67.46 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003823/2.221, allocations: 1.48 MB / 1 GB, free: 65.95 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001118/2.222, allocations: 112 kB / 1 GB, free: 65.84 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002775/2.225, allocations: 315.7 kB / 1.001 GB, free: 65.54 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007111/2.226, allocations: 404.4 kB / 1.001 GB, free: 65.14 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002976/2.226, allocations: 176 kB / 1.001 GB, free: 64.96 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.005891/2.232, allocations: 4.309 MB / 1.006 GB, free: 60.69 MB / 0.5764 GB Notification: Performance of sort global known variables: time 7.1e-08/2.232, allocations: 0 / 1.006 GB, free: 60.69 MB / 0.5764 GB Notification: Performance of remove unused functions: time 0.01162/2.243, allocations: 4.087 MB / 1.01 GB, free: 56.59 MB / 0.5764 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.01743/2.261, allocations: 14.93 MB / 1.024 GB, free: 41.3 MB / 0.5764 GB Notification: Performance of simCode: created initialization part: time 0.01463/2.276, allocations: 10.95 MB / 1.035 GB, free: 30.3 MB / 0.5764 GB Notification: Performance of simCode: created event and clocks part: time 2.067e-05/2.276, allocations: 3.5 kB / 1.035 GB, free: 30.3 MB / 0.5764 GB Notification: Performance of simCode: created simulation system equations: time 0.006066/2.282, allocations: 4.341 MB / 1.039 GB, free: 25.95 MB / 0.5764 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006643/2.288, allocations: 1.562 MB / 1.041 GB, free: 24.44 MB / 0.5764 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3601/2.648, allocations: 94.46 MB / 1.133 GB, free: 148.5 MB / 0.592 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01388/2.662, allocations: 11.26 MB / 1.144 GB, free: 142.1 MB / 0.592 GB Notification: Performance of simCode: alias equations: time 0.008479/2.671, allocations: 3.77 MB / 1.147 GB, free: 138.9 MB / 0.592 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00845/2.679, allocations: 5.95 MB / 1.153 GB, free: 133 MB / 0.592 GB Notification: Performance of SimCode: time 1.904e-06/2.679, allocations: 0 / 1.153 GB, free: 133 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.514/3.193, allocations: 208.7 MB / 1.357 GB, free: 163.8 MB / 0.6077 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.69/29.88, allocations: 6.766 kB / 1.357 GB, free: 163.8 MB / 0.6077 GB " [Timeout remaining time 630] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 33.15058888588101]