Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002219/0.002219, allocations: 187.5 kB / 23.7 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 225.7 MB / 252.5 MB, free: 12.84 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 47.92 kB / 370.4 MB, free: 9.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2307, allocations: 52.18 MB / 422.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009573/0.2403, allocations: 6.895 MB / 429.5 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005192/0.2455, allocations: 2.535 MB / 432 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001513/0.247, allocations: 91.31 kB / 432.1 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001885/0.2489, allocations: 0.5703 MB / 432.7 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002558/0.2514, allocations: 0.7808 MB / 433.5 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.2525, allocations: 415.5 kB / 433.9 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003807/0.2564, allocations: 3.292 MB / 437.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002509/0.2589, allocations: 1.941 MB / 439.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002785/0.2616, allocations: 1.699 MB / 440.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003024/0.2647, allocations: 2.028 MB / 442.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006511/0.2653, allocations: 464 kB / 443.3 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.2665, allocations: 0.648 MB / 443.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001139/0.2677, allocations: 1.258 MB / 445.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001786/0.2694, allocations: 1.591 MB / 446.8 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006082/0.2755, allocations: 6.132 MB / 452.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2755, allocations: 0 / 452.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2755, allocations: 0 / 452.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001119/0.2756, allocations: 4 kB / 452.9 MB, free: 15.93 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.007954/0.2836, allocations: 3.805 MB / 456.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.2836, allocations: 12.03 kB / 456.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005776/0.2842, allocations: 425.9 kB / 457.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009606/0.2852, allocations: 414.6 kB / 457.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004538/0.2897, allocations: 2.107 MB / 459.7 MB, free: 9.086 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002156/0.2899, allocations: 221.8 kB / 459.9 MB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005759/0.2905, allocations: 284 kB / 460.1 MB, free: 8.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007845/0.2984, allocations: 4.438 MB / 464.6 MB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.307e-05/0.2984, allocations: 7.938 kB / 464.6 MB, free: 4.031 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004431/0.2989, allocations: 120 kB / 464.7 MB, free: 3.914 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002755/0.2991, allocations: 141.9 kB / 464.8 MB, free: 3.773 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00984/0.309, allocations: 3.486 MB / 468.3 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02901/0.338, allocations: 9.693 MB / 478 MB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003339/0.3413, allocations: 1.64 MB / 479.7 MB, free: 4.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002527/0.3439, allocations: 1.403 MB / 481.1 MB, free: 3.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000236/0.3441, allocations: 48.97 kB / 481.1 MB, free: 3.293 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.913e-05/0.3442, allocations: 47.55 kB / 481.2 MB, free: 3.238 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 5.33e-06/0.3442, allocations: 4 kB / 481.2 MB, free: 3.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.01391/0.3581, allocations: 5.128 MB / 486.3 MB, free: 14.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.3582, allocations: 94.42 kB / 486.4 MB, free: 13.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004804/0.363, allocations: 1.929 MB / 488.3 MB, free: 12.03 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002337/0.3632, allocations: 49.69 kB / 488.4 MB, free: 11.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001639/0.3649, allocations: 1.361 MB / 489.7 MB, free: 10.6 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007408/0.3656, allocations: 479.9 kB / 490.2 MB, free: 10.13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008179/0.3664, allocations: 271.5 kB / 490.5 MB, free: 9.855 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3666, allocations: 305.1 kB / 490.8 MB, free: 9.555 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002109/0.3687, allocations: 0.8159 MB / 491.6 MB, free: 8.738 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002436/0.3711, allocations: 1.204 MB / 492.8 MB, free: 7.387 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004565/0.3757, allocations: 2.09 MB / 494.9 MB, free: 5.152 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.481e-05/0.3757, allocations: 4 kB / 494.9 MB, free: 5.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006589/0.3823, allocations: 2.524 MB / 497.4 MB, free: 2.613 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.504e-05/0.3823, allocations: 12 kB / 497.4 MB, free: 2.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.062e-05/0.3824, allocations: 8 kB / 497.4 MB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002511/0.3849, allocations: 480.3 kB / 497.9 MB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/0.3867, allocations: 339.5 kB / 498.2 MB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008311/0.3951, allocations: 4.23 MB / 0.4907 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/0.3969, allocations: 91.92 kB / 0.4908 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002541/0.3972, allocations: 60 kB / 0.4908 GB, free: 13.31 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002581/0.3998, allocations: 1.048 MB / 0.4918 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007566/0.4005, allocations: 198.8 kB / 0.492 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005369/0.4059, allocations: 2.129 MB / 0.4941 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.871e-05/0.4059, allocations: 19.98 kB / 0.4941 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.4059, allocations: 4 kB / 0.4941 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/0.406, allocations: 7.984 kB / 0.4941 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009626/0.4156, allocations: 4.873 MB / 0.4989 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.4156, allocations: 0 / 0.4989 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009914/0.4166, allocations: 231.9 kB / 0.4991 GB, free: 4.691 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001747/0.4183, allocations: 460.7 kB / 0.4996 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.776e-05/0.4184, allocations: 31.98 kB / 0.4996 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005559/0.424, allocations: 4.142 MB / 0.5036 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.424, allocations: 4.031 kB / 0.5036 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005382/0.4294, allocations: 3.264 MB / 0.5068 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/0.4307, allocations: 386.7 kB / 0.5072 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004721/0.4311, allocations: 27.98 kB / 0.5072 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/0.4324, allocations: 91.97 kB / 0.5073 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002648/0.4327, allocations: 104.7 kB / 0.5074 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000134/0.4328, allocations: 47.98 kB / 0.5074 GB, free: 12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002611/0.4354, allocations: 1.33 MB / 0.5087 GB, free: 10.67 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4354, allocations: 0 / 0.5087 GB, free: 10.67 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002199/0.4376, allocations: 0.5585 MB / 0.5093 GB, free: 10.11 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * 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 (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006388/0.444, allocations: 3.933 MB / 0.5131 GB, free: 6.133 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003915/0.4479, allocations: 2.122 MB / 0.5152 GB, free: 3.996 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.4479, allocations: 0 / 0.5152 GB, free: 3.996 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002027/0.45, allocations: 1.152 MB / 0.5163 GB, free: 2.832 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002595/0.4525, allocations: 0.5111 MB / 0.5168 GB, free: 2.324 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2139/0.6665, allocations: 20.57 MB / 0.5369 GB, free: 106.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001795/0.6683, allocations: 1.87 MB / 0.5387 GB, free: 106.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001297/0.6696, allocations: 494.6 kB / 0.5392 GB, free: 106.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001059/0.6706, allocations: 1.071 MB / 0.5403 GB, free: 106.2 MB / 446.1 MB Notification: Performance of SimCode: time 6.71e-07/0.6706, allocations: 0 / 0.5403 GB, free: 106.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08476/0.7554, allocations: 55.5 MB / 0.5945 GB, free: 56.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/14.08, allocations: 7.922 kB / 0.5945 GB, free: 56.72 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable transformer.l2sigma.inductor[1].i in file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv. Warning: Get data of variable transformer.l2sigma.inductor[1].i from file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.544649832881987]