Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.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.001332/0.001332, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001513/0.001513, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.423/1.423, allocations: 230.5 MB / 257.4 MB, free: 7.723 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.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 63.89 kB / 377.7 MB, free: 2.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2277, allocations: 53.4 MB / 431.1 MB, free: 6.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009167/0.2369, allocations: 6.936 MB / 438.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004993/0.2419, allocations: 2.605 MB / 440.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009034/0.2428, allocations: 91.38 kB / 440.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.2441, allocations: 0.5859 MB / 441.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001902/0.246, allocations: 0.7847 MB / 442.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008345/0.2468, allocations: 427.4 kB / 442.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003407/0.2502, allocations: 3.308 MB / 445.9 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002564/0.2528, allocations: 1.949 MB / 447.8 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002847/0.2556, allocations: 1.716 MB / 449.5 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002888/0.2585, allocations: 2.028 MB / 451.6 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007242/0.2592, allocations: 464 kB / 452 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.2605, allocations: 0.6519 MB / 452.7 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001237/0.2618, allocations: 1.27 MB / 453.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001963/0.2637, allocations: 1.591 MB / 455.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006371/0.2701, allocations: 6.159 MB / 461.7 MB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2701, allocations: 0 / 461.7 MB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2701, allocations: 3.938 kB / 461.7 MB, free: 7.715 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.073e-05/0.2702, allocations: 4 kB / 461.7 MB, free: 7.711 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: 778 * Number of variables: 778 Notification: Performance of Generate backend data structure: time 0.007876/0.2781, allocations: 3.828 MB / 465.5 MB, free: 3.828 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.2781, allocations: 19.91 kB / 465.5 MB, free: 3.809 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005709/0.2787, allocations: 430 kB / 466 MB, free: 3.379 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/0.28, allocations: 454.5 kB / 466.4 MB, free: 2.934 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004273/0.2843, allocations: 2.119 MB / 468.5 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001878/0.2845, allocations: 222.2 kB / 468.7 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004606/0.285, allocations: 291.9 kB / 469 MB, free: 276 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007184/0.2921, allocations: 4.47 MB / 473.5 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.178e-05/0.2922, allocations: 0 / 473.5 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002757/0.2925, allocations: 124 kB / 473.6 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001963/0.2927, allocations: 153.9 kB / 473.8 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006011/0.2987, allocations: 3.505 MB / 477.3 MB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01812/0.3168, allocations: 9.732 MB / 487 MB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002485/0.3193, allocations: 1.656 MB / 488.7 MB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002444/0.3217, allocations: 1.403 MB / 490.1 MB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002163/0.3219, allocations: 44.97 kB / 490.1 MB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.322, allocations: 47.56 kB / 490.2 MB, free: 10.81 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 3.807e-06/0.322, allocations: 0 / 490.2 MB, free: 10.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.009321/0.3313, allocations: 5.132 MB / 495.3 MB, free: 5.645 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/0.3314, allocations: 98.42 kB / 495.4 MB, free: 5.531 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002789/0.3342, allocations: 1.941 MB / 497.3 MB, free: 3.586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.3343, allocations: 49.7 kB / 497.4 MB, free: 3.531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001055/0.3353, allocations: 1.369 MB / 498.7 MB, free: 2.148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003997/0.3357, allocations: 475.9 kB / 499.2 MB, free: 1.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004396/0.3362, allocations: 275.5 kB / 499.5 MB, free: 1.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3363, allocations: 301.1 kB / 499.8 MB, free: 1.105 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.3376, allocations: 0.8198 MB / 0.4889 GB, free: 292 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/0.3392, allocations: 1.207 MB / 0.49 GB, free: 14.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002895/0.3421, allocations: 2.078 MB / 0.4921 GB, free: 12.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.3421, allocations: 0 / 0.4921 GB, free: 12.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004302/0.3464, allocations: 2.531 MB / 0.4945 GB, free: 10.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.3464, allocations: 8 kB / 0.4945 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.885e-05/0.3464, allocations: 12 kB / 0.4946 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001824/0.3482, allocations: 479.1 kB / 0.495 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/0.3496, allocations: 335.5 kB / 0.4953 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005804/0.3554, allocations: 4.227 MB / 0.4995 GB, free: 5.016 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.3567, allocations: 87.8 kB / 0.4996 GB, free: 4.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/0.3569, allocations: 63.98 kB / 0.4996 GB, free: 4.867 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.00171/0.3586, allocations: 1.055 MB / 0.5006 GB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004534/0.359, allocations: 198.7 kB / 0.5008 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003696/0.3627, allocations: 2.141 MB / 0.5029 GB, free: 1.449 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.465e-05/0.3627, allocations: 20 kB / 0.5029 GB, free: 1.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.3628, allocations: 7.938 kB / 0.5029 GB, free: 1.422 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/0.3628, allocations: 11.91 kB / 0.503 GB, free: 1.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008969/0.3717, allocations: 4.885 MB / 0.5077 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.106e-06/0.3718, allocations: 0 / 0.5077 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.3728, allocations: 227.9 kB / 0.5079 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001825/0.3746, allocations: 460.2 kB / 0.5084 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-05/0.3747, allocations: 27.98 kB / 0.5084 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005487/0.3802, allocations: 4.149 MB / 0.5125 GB, free: 7.473 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.3802, allocations: 12.03 kB / 0.5125 GB, free: 7.461 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005305/0.3855, allocations: 3.252 MB / 0.5157 GB, free: 4.168 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/0.3866, allocations: 386.7 kB / 0.516 GB, free: 3.789 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002605/0.3869, allocations: 31.98 kB / 0.5161 GB, free: 3.758 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.3879, allocations: 95.97 kB / 0.5161 GB, free: 3.664 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002277/0.3881, allocations: 100.7 kB / 0.5162 GB, free: 3.562 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.821e-05/0.3882, allocations: 39.98 kB / 0.5163 GB, free: 3.523 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00204/0.3902, allocations: 1.346 MB / 0.5176 GB, free: 2.184 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3902, allocations: 0 / 0.5176 GB, free: 2.184 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001656/0.3919, allocations: 0.5507 MB / 0.5181 GB, free: 1.633 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.005813/0.3977, allocations: 3.941 MB / 0.522 GB, free: 13.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003701/0.4014, allocations: 2.117 MB / 0.524 GB, free: 11.51 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.4014, allocations: 4 kB / 0.5241 GB, free: 11.51 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001954/0.4034, allocations: 1.161 MB / 0.5252 GB, free: 10.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/0.4055, allocations: 0.5004 MB / 0.5257 GB, free: 9.836 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2161/0.6217, allocations: 20.63 MB / 0.5458 GB, free: 97.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001706/0.6234, allocations: 1.88 MB / 0.5477 GB, free: 96.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001306/0.6247, allocations: 0.4902 MB / 0.5481 GB, free: 96.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/0.6258, allocations: 1.077 MB / 0.5492 GB, free: 95.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.6258, allocations: 0 / 0.5492 GB, free: 95.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08363/0.7094, allocations: 55.57 MB / 0.6035 GB, free: 41.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.88, allocations: 7.938 kB / 0.6035 GB, free: 41.4 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv. Warning: Get data of variable transformer.l2sigma.inductor[1].i from file Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.37597488099709]