Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 207.7 MB / 235.3 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 51.92 kB / 347.2 MB, free: 9.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2353, allocations: 49.16 MB / 396.4 MB, free: 8.855 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02692/0.2622, allocations: 25.27 MB / 421.6 MB, free: 7.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01789/0.2801, allocations: 7.296 MB / 428.9 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006417/0.2865, allocations: 265.5 kB / 429.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03035/0.3169, allocations: 12.26 MB / 441.4 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01266/0.3295, allocations: 2.953 MB / 444.4 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007078/0.3366, allocations: 2.102 MB / 446.5 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02533/0.3619, allocations: 19.18 MB / 465.7 MB, free: 13.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05949/0.4214, allocations: 28.33 MB / 494 MB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01782/0.4393, allocations: 10.52 MB / 0.4927 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02017/0.4594, allocations: 11.36 MB / 0.5038 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008267/0.4677, allocations: 2.977 MB / 0.5067 GB, free: 8.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01007/0.4778, allocations: 3.222 MB / 0.5099 GB, free: 4.848 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01133/0.4891, allocations: 5.779 MB / 0.5155 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01935/0.5084, allocations: 8.694 MB / 0.524 GB, free: 6.328 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4089/0.9173, allocations: 39.93 MB / 0.563 GB, free: 66.48 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.9173, allocations: 0 / 0.563 GB, free: 66.48 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.198e-05/0.9174, allocations: 0.75 kB / 0.563 GB, free: 66.48 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0008918/0.9182, allocations: 0.5 kB / 0.563 GB, free: 66.48 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.06282/0.9811, allocations: 23.19 MB / 0.5856 GB, free: 60.68 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.9811, allocations: 13.52 kB / 0.5856 GB, free: 60.67 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008915/0.99, allocations: 3.116 MB / 0.5887 GB, free: 60.46 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06288/1.053, allocations: 12.38 MB / 0.6008 GB, free: 57.76 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02165/1.075, allocations: 10.78 MB / 0.6113 GB, free: 52.65 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001054/1.076, allocations: 1.405 MB / 0.6127 GB, free: 51.36 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007274/1.083, allocations: 1.839 MB / 0.6145 GB, free: 49.54 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06742/1.15, allocations: 31.1 MB / 0.6448 GB, free: 18.34 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008006/1.151, allocations: 16.59 kB / 0.6449 GB, free: 18.33 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005824/1.157, allocations: 0.7668 MB / 0.6456 GB, free: 17.58 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007335/1.158, allocations: 0.9646 MB / 0.6466 GB, free: 16.61 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05489/1.213, allocations: 27.77 MB / 0.6737 GB, free: 4.812 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1719/1.384, allocations: 83.58 MB / 0.7553 GB, free: 1.121 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02956/1.414, allocations: 16.88 MB / 0.7718 GB, free: 4.199 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01062/1.425, allocations: 5.54 MB / 0.7772 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03411/1.459, allocations: 13.93 MB / 0.7908 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.866e-05/1.459, allocations: 81.89 kB / 0.7909 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=427): time 7.534e-06/1.459, allocations: 0 / 0.7909 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of matching and sorting (n=427): time 0.229/1.688, allocations: 13.13 MB / 0.8037 GB, free: 229.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/1.688, allocations: 120.7 kB / 0.8038 GB, free: 229.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01332/1.701, allocations: 7.868 MB / 0.8115 GB, free: 226.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0006996/1.702, allocations: 97.36 kB / 0.8116 GB, free: 226.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004189/1.706, allocations: 8.866 MB / 0.8202 GB, free: 219.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001671/1.708, allocations: 1.627 MB / 0.8218 GB, free: 218.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005225/1.713, allocations: 2.284 MB / 0.8241 GB, free: 217.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.374e-05/1.713, allocations: 306.1 kB / 0.8244 GB, free: 217.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006534/1.72, allocations: 4.703 MB / 0.8289 GB, free: 215.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008974/1.729, allocations: 10.43 MB / 0.8391 GB, free: 206.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01511/1.744, allocations: 15.99 MB / 0.8547 GB, free: 192 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001823/1.744, allocations: 56 kB / 0.8548 GB, free: 192 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.02526/1.769, allocations: 16 MB / 0.8704 GB, free: 178 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002707/1.769, allocations: 92 kB / 0.8705 GB, free: 177.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003608/1.77, allocations: 196 kB / 0.8707 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005156/1.775, allocations: 1.696 MB / 0.8724 GB, free: 176.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007913/1.783, allocations: 2.501 MB / 0.8748 GB, free: 174.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01291/1.796, allocations: 11.24 MB / 0.8858 GB, free: 163.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008912/1.805, allocations: 1.587 MB / 0.8873 GB, free: 162.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001683/1.806, allocations: 0.6015 MB / 0.8879 GB, free: 161.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * 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 (1312): * Single equations (assignments): 1309 * 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.01222/1.819, allocations: 7.394 MB / 0.8951 GB, free: 154.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001557/1.82, allocations: 0.6597 MB / 0.8958 GB, free: 153.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01351/1.834, allocations: 8.056 MB / 0.9036 GB, free: 145.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008237/1.842, allocations: 6.449 MB / 0.9099 GB, free: 138.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.409e-05/1.842, allocations: 15.83 kB / 0.91 GB, free: 138.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.926e-05/1.842, allocations: 23.91 kB / 0.91 GB, free: 138.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03686/1.879, allocations: 20.06 MB / 0.9296 GB, free: 118.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/1.879, allocations: 7.984 kB / 0.9296 GB, free: 118.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003058/1.882, allocations: 0.7645 MB / 0.9303 GB, free: 118 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004569/1.886, allocations: 1.446 MB / 0.9317 GB, free: 116.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004926/1.887, allocations: 91.97 kB / 0.9318 GB, free: 116.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0127/1.9, allocations: 10.83 MB / 0.9424 GB, free: 105.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.9, allocations: 4 kB / 0.9424 GB, free: 105.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01548/1.915, allocations: 11.71 MB / 0.9538 GB, free: 93.74 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003712/1.919, allocations: 1.311 MB / 0.9551 GB, free: 92.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001703/1.921, allocations: 79.92 kB / 0.9552 GB, free: 92.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003839/1.924, allocations: 303.6 kB / 0.9555 GB, free: 92.05 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007456/1.925, allocations: 307.7 kB / 0.9558 GB, free: 91.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003924/1.926, allocations: 124.3 kB / 0.9559 GB, free: 91.63 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008566/1.934, allocations: 4.934 MB / 0.9607 GB, free: 86.71 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.71e-07/1.934, allocations: 0 / 0.9607 GB, free: 86.71 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01229/1.946, allocations: 4.238 MB / 0.9649 GB, free: 82.46 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (381): * Single equations (assignments): 378 * 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.01522/1.962, allocations: 12.44 MB / 0.977 GB, free: 69.96 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01447/1.976, allocations: 10.53 MB / 0.9873 GB, free: 59.46 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/1.976, allocations: 3.938 kB / 0.9873 GB, free: 59.45 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006081/1.982, allocations: 3.662 MB / 0.9909 GB, free: 55.79 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008945/1.991, allocations: 1.542 MB / 0.9924 GB, free: 54.24 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3268/2.318, allocations: 100.3 MB / 1.09 GB, free: 199.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01686/2.335, allocations: 11.3 MB / 1.101 GB, free: 196.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.009449/2.344, allocations: 3.981 MB / 1.105 GB, free: 193.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007942/2.352, allocations: 6.121 MB / 1.111 GB, free: 187.7 MB / 0.5919 GB Notification: Performance of SimCode: time 9.42e-07/2.352, allocations: 2.625 kB / 1.111 GB, free: 187.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4404/2.793, allocations: 207.9 MB / 1.314 GB, free: 179.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.6/26.39, allocations: 3.875 kB / 1.314 GB, free: 179.5 MB / 0.5919 GB " [Timeout remaining time 633] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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_3_2_3_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.csv. Warning: Get data of variable source.plug_p.reference.gamma from file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 28.91527349082753]