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.001346/0.001346, allocations: 124.4 kB / 17.79 MB, free: 5.285 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.001645/0.001645, allocations: 214.6 kB / 20.75 MB, free: 2.328 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.496/1.496, allocations: 230.4 MB / 254 MB, free: 15.05 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.002069/0.002069, allocations: 59.89 kB / 373 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1192, allocations: 53.38 MB / 426.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.2634/0.3826, allocations: 28.71 MB / 455.1 MB, free: 9.047 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02719/0.4098, allocations: 7.211 MB / 462.3 MB, free: 3.926 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008886/0.4187, allocations: 314.9 kB / 462.6 MB, free: 3.824 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03305/0.4518, allocations: 13.21 MB / 475.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0129/0.4647, allocations: 2.57 MB / 478.4 MB, free: 8.773 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007872/0.4725, allocations: 2.028 MB / 480.4 MB, free: 7.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02757/0.5001, allocations: 18.3 MB / 498.7 MB, free: 8.402 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07146/0.5716, allocations: 34.25 MB / 0.5205 GB, free: 5.941 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01891/0.5905, allocations: 10.13 MB / 0.5304 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02162/0.6121, allocations: 11.12 MB / 0.5412 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008781/0.6209, allocations: 2.918 MB / 0.5441 GB, free: 13.73 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01153/0.6324, allocations: 3.203 MB / 0.5472 GB, free: 10.53 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01079/0.6432, allocations: 5.487 MB / 0.5526 GB, free: 5.027 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0217/0.6649, allocations: 10.82 MB / 0.5631 GB, free: 10.17 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05506/0.72, allocations: 39.1 MB / 0.6013 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.72, allocations: 0 / 0.6013 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.134e-06/0.72, allocations: 3.938 kB / 0.6013 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.001272/0.7212, allocations: 3.984 kB / 0.6013 GB, free: 2.934 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.5045/1.226, allocations: 22.31 MB / 0.6231 GB, free: 135.6 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/1.226, allocations: 9.5 kB / 0.6231 GB, free: 135.6 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01087/1.237, allocations: 2.956 MB / 0.626 GB, free: 134.3 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04829/1.285, allocations: 8.247 MB / 0.634 GB, free: 132.8 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02273/1.308, allocations: 11.69 MB / 0.6455 GB, free: 127.5 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001244/1.309, allocations: 1.342 MB / 0.6468 GB, free: 126.9 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006417/1.315, allocations: 1.757 MB / 0.6485 GB, free: 126.3 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06253/1.378, allocations: 28.78 MB / 0.6766 GB, free: 103.1 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005625/1.378, allocations: 23.88 kB / 0.6766 GB, free: 103 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005143/1.384, allocations: 0.7262 MB / 0.6773 GB, free: 102.3 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000605/1.384, allocations: 0.8415 MB / 0.6781 GB, free: 101.5 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04525/1.429, allocations: 24.84 MB / 0.7024 GB, free: 76.62 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1273/1.557, allocations: 87.52 MB / 0.7879 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03552/1.592, allocations: 34.59 MB / 0.8217 GB, free: 14.46 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009849/1.602, allocations: 5.051 MB / 0.8266 GB, free: 9.402 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006731/1.603, allocations: 330.5 kB / 0.8269 GB, free: 9.039 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.663e-05/1.603, allocations: 91.08 kB / 0.827 GB, free: 8.938 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=577): time 7.173e-06/1.603, allocations: 0 / 0.827 GB, free: 8.938 MB / 0.5763 GB Notification: Performance of matching and sorting (n=577): time 0.03784/1.641, allocations: 14.77 MB / 0.8414 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/1.641, allocations: 137.6 kB / 0.8415 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01163/1.652, allocations: 6.424 MB / 0.8478 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001148/1.654, allocations: 117.7 kB / 0.8479 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.441/2.095, allocations: 7.902 MB / 0.8557 GB, free: 196.6 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.002195/2.097, allocations: 2.107 MB / 0.8577 GB, free: 195.6 MB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003271/2.1, allocations: 2.116 MB / 0.8598 GB, free: 195.4 MB / 0.592 GB Notification: Performance of setup shared object (initialization): time 4.152e-05/2.1, allocations: 303.2 kB / 0.8601 GB, free: 195.1 MB / 0.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00769/2.108, allocations: 4.742 MB / 0.8647 GB, free: 194.8 MB / 0.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01129/2.119, allocations: 9.473 MB / 0.8739 GB, free: 186.9 MB / 0.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01932/2.138, allocations: 15.34 MB / 0.8889 GB, free: 175.8 MB / 0.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003105/2.139, allocations: 50.06 kB / 0.889 GB, free: 175.8 MB / 0.592 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02536/2.164, allocations: 15.41 MB / 0.904 GB, free: 169.6 MB / 0.592 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001366/2.164, allocations: 75.34 kB / 0.9041 GB, free: 169.6 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002293/2.164, allocations: 159.1 kB / 0.9042 GB, free: 169.6 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0049/2.169, allocations: 1.653 MB / 0.9059 GB, free: 169.2 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007985/2.177, allocations: 2.364 MB / 0.9082 GB, free: 169 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01353/2.191, allocations: 11.61 MB / 0.9195 GB, free: 162.8 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007583/2.198, allocations: 1.375 MB / 0.9208 GB, free: 162.2 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001724/2.2, allocations: 0.5332 MB / 0.9214 GB, free: 161.8 MB / 0.592 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.01017/2.21, allocations: 7.142 MB / 0.9283 GB, free: 155.9 MB / 0.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001529/2.212, allocations: 0.6442 MB / 0.929 GB, free: 155.2 MB / 0.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01318/2.225, allocations: 10.07 MB / 0.9388 GB, free: 146.8 MB / 0.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00923/2.234, allocations: 7.768 MB / 0.9464 GB, free: 139.4 MB / 0.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-05/2.234, allocations: 16.7 kB / 0.9464 GB, free: 139.4 MB / 0.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.402e-05/2.234, allocations: 27.89 kB / 0.9464 GB, free: 139.3 MB / 0.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03897/2.273, allocations: 25.71 MB / 0.9715 GB, free: 113.5 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.008e-05/2.273, allocations: 8 kB / 0.9716 GB, free: 113.5 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00358/2.277, allocations: 1.018 MB / 0.9725 GB, free: 112.4 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004394/2.281, allocations: 1.462 MB / 0.974 GB, free: 111 MB / 0.592 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004156/2.282, allocations: 132.8 kB / 0.9741 GB, free: 110.8 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01151/2.293, allocations: 11.16 MB / 0.985 GB, free: 99.54 MB / 0.592 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/2.293, allocations: 19.88 kB / 0.985 GB, free: 99.52 MB / 0.592 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0178/2.311, allocations: 14.13 MB / 0.9988 GB, free: 85.04 MB / 0.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003476/2.314, allocations: 1.483 MB / 1 GB, free: 83.54 MB / 0.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001002/2.315, allocations: 115.3 kB / 1 GB, free: 83.43 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00296/2.318, allocations: 313 kB / 1.001 GB, free: 83.12 MB / 0.592 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007758/2.319, allocations: 408.4 kB / 1.001 GB, free: 82.72 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003129/2.32, allocations: 176 kB / 1.001 GB, free: 82.55 MB / 0.592 GB Notification: Performance of sorting global known variables: time 0.006555/2.326, allocations: 4.309 MB / 1.005 GB, free: 78.27 MB / 0.592 GB Notification: Performance of sort global known variables: time 2.3e-07/2.326, allocations: 0 / 1.005 GB, free: 78.27 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.01292/2.339, allocations: 4.091 MB / 1.009 GB, free: 74.16 MB / 0.592 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.01767/2.357, allocations: 14.92 MB / 1.024 GB, free: 58.89 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.01487/2.372, allocations: 10.96 MB / 1.035 GB, free: 47.88 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 1.524e-05/2.372, allocations: 7.438 kB / 1.035 GB, free: 47.88 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.006179/2.378, allocations: 4.337 MB / 1.039 GB, free: 43.53 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007517/2.385, allocations: 1.563 MB / 1.04 GB, free: 42.02 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4027/2.788, allocations: 94.47 MB / 1.133 GB, free: 150.6 MB / 0.592 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02026/2.808, allocations: 11.27 MB / 1.144 GB, free: 143.4 MB / 0.592 GB Notification: Performance of simCode: alias equations: time 0.008688/2.817, allocations: 3.769 MB / 1.147 GB, free: 139.6 MB / 0.592 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008988/2.826, allocations: 5.951 MB / 1.153 GB, free: 133.7 MB / 0.592 GB Notification: Performance of SimCode: time 1.002e-06/2.826, allocations: 0 / 1.153 GB, free: 133.7 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6021/3.428, allocations: 208.7 MB / 1.357 GB, free: 166.2 MB / 0.6077 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.86/30.28, allocations: 6.844 kB / 1.357 GB, free: 166.2 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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] "Error: Could not read variable source.plug_p.reference.gamma in file Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.csv. Warning: Get data of variable source.plug_p.reference.gamma from file Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 33.036525054019876]