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.001697/0.001697, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.002107/0.002107, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.485/1.485, allocations: 207.6 MB / 235.2 MB, free: 10.01 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.001768/0.001768, allocations: 53.81 kB / 347.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3003, allocations: 49.16 MB / 396.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.03099/0.3313, allocations: 29.73 MB / 426.1 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01955/0.3509, allocations: 7.466 MB / 433.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008182/0.359, allocations: 262.6 kB / 433.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03023/0.3893, allocations: 13.31 MB / 447.1 MB, free: 396 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01355/0.4028, allocations: 2.999 MB / 450.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007393/0.4102, allocations: 2.152 MB / 452.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02765/0.4379, allocations: 19.19 MB / 471.5 MB, free: 7.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05937/0.4972, allocations: 28.62 MB / 0.4884 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01871/0.5159, allocations: 10.52 MB / 0.4986 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02075/0.5367, allocations: 11.64 MB / 0.51 GB, free: 4.887 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01056/0.5473, allocations: 2.977 MB / 0.5129 GB, free: 1.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01215/0.5594, allocations: 3.242 MB / 0.5161 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009979/0.5694, allocations: 5.779 MB / 0.5217 GB, free: 8.875 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0246/0.594, allocations: 11.22 MB / 0.5327 GB, free: 13.61 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4861/1.08, allocations: 39.76 MB / 0.5715 GB, free: 70.14 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/1.08, allocations: 0 / 0.5715 GB, free: 70.14 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.393e-06/1.08, allocations: 0.8438 kB / 0.5715 GB, free: 70.14 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001218/1.081, allocations: 0 / 0.5715 GB, free: 70.14 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.07419/1.155, allocations: 23.2 MB / 0.5942 GB, free: 62.34 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/1.156, allocations: 15.48 kB / 0.5942 GB, free: 62.34 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01269/1.168, allocations: 3.108 MB / 0.5972 GB, free: 61.39 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06448/1.233, allocations: 12.38 MB / 0.6093 GB, free: 55.81 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02571/1.258, allocations: 10.79 MB / 0.6198 GB, free: 47.2 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001255/1.26, allocations: 1.403 MB / 0.6212 GB, free: 45.82 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008129/1.268, allocations: 1.835 MB / 0.623 GB, free: 44 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07708/1.345, allocations: 30.85 MB / 0.6531 GB, free: 13.12 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008135/1.346, allocations: 19.94 kB / 0.6531 GB, free: 13.1 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007803/1.354, allocations: 0.7618 MB / 0.6539 GB, free: 12.35 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000743/1.354, allocations: 0.9683 MB / 0.6548 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06152/1.416, allocations: 27.87 MB / 0.682 GB, free: 15.48 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1809/1.597, allocations: 91.06 MB / 0.771 GB, free: 4.277 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3822/1.979, allocations: 16.99 MB / 0.7876 GB, free: 211.5 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008469/1.987, allocations: 5.543 MB / 0.793 GB, free: 210.4 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02563/2.013, allocations: 14.91 MB / 0.8075 GB, free: 204.6 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/2.013, allocations: 84.69 kB / 0.8076 GB, free: 204.5 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=427): time 5.541e-06/2.013, allocations: 0 / 0.8076 GB, free: 204.5 MB / 0.5763 GB Notification: Performance of matching and sorting (n=427): time 0.02894/2.042, allocations: 13.14 MB / 0.8204 GB, free: 200.7 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/2.042, allocations: 123.8 kB / 0.8206 GB, free: 200.6 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01021/2.052, allocations: 7.502 MB / 0.8279 GB, free: 197 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0007566/2.053, allocations: 93.7 kB / 0.828 GB, free: 196.9 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004303/2.057, allocations: 8.869 MB / 0.8366 GB, free: 189.1 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001826/2.059, allocations: 1.628 MB / 0.8382 GB, free: 187.6 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003019/2.062, allocations: 2.291 MB / 0.8405 GB, free: 185.5 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.438e-05/2.062, allocations: 305.1 kB / 0.8408 GB, free: 185.2 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005648/2.068, allocations: 4.705 MB / 0.8454 GB, free: 181.3 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007696/2.076, allocations: 10.4 MB / 0.8555 GB, free: 168.5 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01489/2.09, allocations: 15.99 MB / 0.8711 GB, free: 149.7 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001766/2.091, allocations: 56 kB / 0.8712 GB, free: 149.6 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.0264/2.117, allocations: 16 MB / 0.8868 GB, free: 133.6 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.000229/2.117, allocations: 88 kB / 0.8869 GB, free: 133.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003323/2.118, allocations: 199.9 kB / 0.8871 GB, free: 133.4 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005649/2.123, allocations: 1.696 MB / 0.8887 GB, free: 131.7 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00812/2.131, allocations: 2.503 MB / 0.8912 GB, free: 129.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01396/2.145, allocations: 11.43 MB / 0.9024 GB, free: 117.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01048/2.156, allocations: 1.591 MB / 0.9039 GB, free: 116 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002272/2.158, allocations: 0.5937 MB / 0.9045 GB, free: 115.4 MB / 0.5763 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.01227/2.17, allocations: 7.402 MB / 0.9117 GB, free: 108 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001491/2.172, allocations: 0.6636 MB / 0.9124 GB, free: 107.3 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01101/2.183, allocations: 8.054 MB / 0.9202 GB, free: 99.23 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007346/2.19, allocations: 6.449 MB / 0.9265 GB, free: 92.76 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.672e-05/2.19, allocations: 12 kB / 0.9265 GB, free: 92.75 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.592e-05/2.19, allocations: 23.92 kB / 0.9266 GB, free: 92.73 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0334/2.224, allocations: 20.83 MB / 0.9469 GB, free: 71.91 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/2.224, allocations: 4 kB / 0.9469 GB, free: 71.9 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002969/2.227, allocations: 0.7646 MB / 0.9476 GB, free: 71.14 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004719/2.231, allocations: 1.457 MB / 0.9491 GB, free: 69.67 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004426/2.232, allocations: 88.11 kB / 0.9492 GB, free: 69.59 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01186/2.244, allocations: 11.06 MB / 0.96 GB, free: 58.43 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/2.244, allocations: 3.938 kB / 0.96 GB, free: 58.42 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01383/2.257, allocations: 11.71 MB / 0.9714 GB, free: 46.66 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003394/2.261, allocations: 1.315 MB / 0.9727 GB, free: 45.34 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001407/2.262, allocations: 72 kB / 0.9727 GB, free: 45.27 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003023/2.265, allocations: 303.6 kB / 0.973 GB, free: 44.97 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005738/2.266, allocations: 315.7 kB / 0.9733 GB, free: 44.66 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002398/2.266, allocations: 120 kB / 0.9735 GB, free: 44.55 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006564/2.273, allocations: 4.926 MB / 0.9783 GB, free: 39.64 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.01e-07/2.273, allocations: 0 / 0.9783 GB, free: 39.64 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01161/2.284, allocations: 4.238 MB / 0.9824 GB, free: 35.38 MB / 0.5763 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.01493/2.299, allocations: 12.45 MB / 0.9946 GB, free: 22.88 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01446/2.314, allocations: 10.53 MB / 1.005 GB, free: 12.38 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/2.314, allocations: 0 / 1.005 GB, free: 12.38 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.005476/2.319, allocations: 3.668 MB / 1.008 GB, free: 8.691 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0074/2.326, allocations: 1.548 MB / 1.01 GB, free: 7.137 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3417/2.668, allocations: 100.3 MB / 1.108 GB, free: 154.9 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01639/2.685, allocations: 11.62 MB / 1.119 GB, free: 143.3 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.008889/2.694, allocations: 3.974 MB / 1.123 GB, free: 139.3 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009333/2.703, allocations: 6.12 MB / 1.129 GB, free: 133.2 MB / 0.5763 GB Notification: Performance of SimCode: time 2.154e-06/2.703, allocations: 0 / 1.129 GB, free: 133.2 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4877/3.191, allocations: 210.6 MB / 1.335 GB, free: 168.6 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.36/31.55, allocations: 9.547 kB / 1.335 GB, free: 168.6 MB / 0.5763 GB " [Timeout remaining time 628] (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: 34.25555581799563]