Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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.001718/0.001718, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 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.002383/0.002383, allocations: 208.1 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 51.86 kB / 377.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2323, allocations: 53.36 MB / 431.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.02978/0.2621, allocations: 24.5 MB / 455.6 MB, free: 14 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01459/0.2767, allocations: 7.024 MB / 462.6 MB, free: 6.957 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004494/0.2812, allocations: 314.4 kB / 462.9 MB, free: 6.648 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02949/0.3107, allocations: 12.21 MB / 475.1 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009057/0.3197, allocations: 2.602 MB / 477.7 MB, free: 7.797 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005584/0.3253, allocations: 2.03 MB / 479.8 MB, free: 5.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02375/0.3491, allocations: 18.54 MB / 498.3 MB, free: 3.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05237/0.4014, allocations: 28.11 MB / 0.5141 GB, free: 6.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01573/0.4171, allocations: 10.16 MB / 0.524 GB, free: 12.67 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01949/0.4366, allocations: 10.84 MB / 0.5346 GB, free: 1.801 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.3728/0.8094, allocations: 2.917 MB / 0.5374 GB, free: 40.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007974/0.8174, allocations: 3.185 MB / 0.5405 GB, free: 40.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006224/0.8236, allocations: 5.491 MB / 0.5459 GB, free: 40.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01401/0.8377, allocations: 8.369 MB / 0.5541 GB, free: 39.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02932/0.867, allocations: 39.27 MB / 0.5924 GB, free: 20.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.867, allocations: 6.469 kB / 0.5924 GB, free: 20.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.867, allocations: 3.469 kB / 0.5924 GB, free: 20.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008934/0.8679, allocations: 0 / 0.5924 GB, free: 20.38 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.05643/0.9243, allocations: 22.24 MB / 0.6142 GB, free: 3.078 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.9244, allocations: 8.031 kB / 0.6142 GB, free: 3.07 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0103/0.9347, allocations: 2.965 MB / 0.6171 GB, free: 108 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04783/0.9825, allocations: 8.237 MB / 0.6251 GB, free: 7.93 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0299/1.012, allocations: 11.9 MB / 0.6367 GB, free: 12.44 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001604/1.014, allocations: 1.341 MB / 0.638 GB, free: 11.11 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006277/1.02, allocations: 1.751 MB / 0.6397 GB, free: 9.363 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07364/1.094, allocations: 29.03 MB / 0.6681 GB, free: 12.23 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007299/1.095, allocations: 19.94 kB / 0.6681 GB, free: 12.21 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005099/1.1, allocations: 0.735 MB / 0.6688 GB, free: 11.49 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001002/1.101, allocations: 0.8415 MB / 0.6696 GB, free: 10.65 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05552/1.156, allocations: 24.77 MB / 0.6938 GB, free: 1.863 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3567/1.513, allocations: 78.86 MB / 0.7708 GB, free: 139.3 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01747/1.53, allocations: 12.79 MB / 0.7833 GB, free: 138.9 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006967/1.537, allocations: 5.041 MB / 0.7883 GB, free: 138.8 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003923/1.538, allocations: 142.9 kB / 0.7884 GB, free: 138.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.508e-05/1.538, allocations: 95.52 kB / 0.7885 GB, free: 138.7 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 9.057e-06/1.538, allocations: 3.938 kB / 0.7885 GB, free: 138.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.02935/1.567, allocations: 14.69 MB / 0.8028 GB, free: 136.4 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.981e-05/1.567, allocations: 142.6 kB / 0.803 GB, free: 136.2 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008323/1.576, allocations: 6.697 MB / 0.8095 GB, free: 133.8 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0007553/1.576, allocations: 121.9 kB / 0.8096 GB, free: 133.7 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003019/1.579, allocations: 7.903 MB / 0.8173 GB, free: 126.9 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001553/1.581, allocations: 2.108 MB / 0.8194 GB, free: 125 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002443/1.583, allocations: 2.113 MB / 0.8215 GB, free: 123.8 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.553e-05/1.583, allocations: 305.1 kB / 0.8218 GB, free: 123.5 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005299/1.589, allocations: 4.746 MB / 0.8264 GB, free: 121 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006645/1.595, allocations: 9.499 MB / 0.8357 GB, free: 110.1 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01352/1.609, allocations: 15.33 MB / 0.8506 GB, free: 92.43 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001263/1.609, allocations: 44 kB / 0.8507 GB, free: 92.39 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.0202/1.629, allocations: 15.41 MB / 0.8657 GB, free: 76.89 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.452e-05/1.629, allocations: 72 kB / 0.8658 GB, free: 76.82 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001949/1.629, allocations: 160 kB / 0.866 GB, free: 76.67 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004762/1.634, allocations: 1.662 MB / 0.8676 GB, free: 75 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007319/1.642, allocations: 2.359 MB / 0.8699 GB, free: 72.64 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01227/1.654, allocations: 11.29 MB / 0.8809 GB, free: 61.24 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007707/1.661, allocations: 1.374 MB / 0.8822 GB, free: 59.86 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001251/1.663, allocations: 0.5429 MB / 0.8828 GB, free: 59.31 MB / 0.5607 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.009785/1.673, allocations: 7.137 MB / 0.8897 GB, free: 52.16 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001036/1.674, allocations: 0.6403 MB / 0.8904 GB, free: 51.51 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01244/1.686, allocations: 10.08 MB / 0.9002 GB, free: 41.32 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009051/1.695, allocations: 7.769 MB / 0.9078 GB, free: 33.46 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.906e-05/1.695, allocations: 15.94 kB / 0.9078 GB, free: 33.45 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.102e-05/1.695, allocations: 27.89 kB / 0.9078 GB, free: 33.43 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03444/1.73, allocations: 24.48 MB / 0.9318 GB, free: 8.812 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.031e-05/1.73, allocations: 8 kB / 0.9318 GB, free: 8.805 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003558/1.733, allocations: 1.018 MB / 0.9328 GB, free: 7.785 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004432/1.738, allocations: 1.458 MB / 0.9342 GB, free: 6.324 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004095/1.738, allocations: 135.1 kB / 0.9343 GB, free: 6.195 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01373/1.752, allocations: 10.85 MB / 0.9449 GB, free: 11.24 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.097e-05/1.752, allocations: 11.94 kB / 0.9449 GB, free: 11.23 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02243/1.774, allocations: 14.14 MB / 0.9587 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004159/1.778, allocations: 1.447 MB / 0.9601 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001025/1.779, allocations: 112 kB / 0.9602 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002949/1.782, allocations: 319.6 kB / 0.9606 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008223/1.783, allocations: 424.2 kB / 0.961 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003828/1.783, allocations: 176 kB / 0.9611 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007357/1.791, allocations: 4.309 MB / 0.9653 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.791, allocations: 0 / 0.9653 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01137/1.802, allocations: 4.087 MB / 0.9693 GB, free: 1.895 MB / 0.5919 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.2446/2.047, allocations: 14.92 MB / 0.9839 GB, free: 189.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01493/2.062, allocations: 10.95 MB / 0.9946 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/2.062, allocations: 0 / 0.9946 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005637/2.067, allocations: 4.349 MB / 0.9988 GB, free: 184.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006878/2.074, allocations: 1.562 MB / 1 GB, free: 184 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1323/2.207, allocations: 94.75 MB / 1.093 GB, free: 98.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01465/2.221, allocations: 10.94 MB / 1.104 GB, free: 87.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008391/2.23, allocations: 3.774 MB / 1.107 GB, free: 83.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008696/2.238, allocations: 5.951 MB / 1.113 GB, free: 77.57 MB / 0.5919 GB Notification: Performance of SimCode: time 1.223e-06/2.238, allocations: 0 / 1.113 GB, free: 77.57 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4717/2.71, allocations: 211.4 MB / 1.32 GB, free: 131.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.38/26.09, allocations: 3.188 kB / 1.32 GB, free: 131.2 MB / 0.6075 GB " [Timeout remaining time 634] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.csv. Warning: Get data of variable source.plug_p.reference.gamma from file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 28.84724030131474]