Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.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.0013/0.0013, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001435/0.001435, allocations: 213.8 kB / 23.73 MB, free: 4.41 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.451/1.451, 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.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 47.92 kB / 377.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2432, allocations: 53.36 MB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01009/0.2533, allocations: 6.912 MB / 438 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006197/0.2595, allocations: 2.601 MB / 440.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001233/0.2607, allocations: 91.31 kB / 440.7 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.2622, allocations: 0.5781 MB / 441.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002311/0.2645, allocations: 0.773 MB / 442 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.2656, allocations: 419.4 kB / 442.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003957/0.2695, allocations: 3.288 MB / 445.7 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002788/0.2723, allocations: 1.941 MB / 447.7 MB, free: 5.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003318/0.2756, allocations: 1.716 MB / 449.4 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003442/0.2791, allocations: 2.024 MB / 451.4 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008188/0.2799, allocations: 460 kB / 451.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.2813, allocations: 0.648 MB / 452.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001307/0.2826, allocations: 1.258 MB / 453.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002247/0.2848, allocations: 1.591 MB / 455.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007572/0.2924, allocations: 6.14 MB / 461.5 MB, free: 8.062 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.2924, allocations: 4 kB / 461.5 MB, free: 8.059 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.756e-06/0.2924, allocations: 0 / 461.5 MB, free: 8.059 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002095/0.2926, allocations: 0 / 461.5 MB, free: 8.059 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.009353/0.302, allocations: 3.824 MB / 465.3 MB, free: 4.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.302, allocations: 8.031 kB / 465.3 MB, free: 4.172 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006613/0.3027, allocations: 429.9 kB / 465.8 MB, free: 3.742 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.3042, allocations: 454.5 kB / 466.2 MB, free: 3.297 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004703/0.3089, allocations: 2.115 MB / 468.3 MB, free: 1.141 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002062/0.3091, allocations: 225.8 kB / 468.5 MB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005131/0.3096, allocations: 288 kB / 468.8 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007645/0.3172, allocations: 4.438 MB / 473.3 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-05/0.3173, allocations: 11.98 kB / 473.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002784/0.3176, allocations: 120 kB / 473.4 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001858/0.3177, allocations: 137.9 kB / 473.5 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00623/0.324, allocations: 3.482 MB / 477 MB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0186/0.3426, allocations: 9.693 MB / 486.7 MB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002572/0.3451, allocations: 1.648 MB / 488.4 MB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002532/0.3477, allocations: 1.403 MB / 489.8 MB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002205/0.3479, allocations: 52.95 kB / 489.8 MB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.074e-05/0.348, allocations: 43.56 kB / 489.8 MB, free: 11.28 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 3.647e-06/0.348, allocations: 0 / 489.8 MB, free: 11.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.009326/0.3573, allocations: 5.129 MB / 495 MB, free: 6.117 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.238e-05/0.3574, allocations: 94.41 kB / 495.1 MB, free: 6.008 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002779/0.3601, allocations: 1.937 MB / 497 MB, free: 4.066 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.3602, allocations: 53.7 kB / 497.1 MB, free: 4.008 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001106/0.3613, allocations: 1.353 MB / 498.4 MB, free: 2.641 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004245/0.3618, allocations: 479.9 kB / 498.9 MB, free: 2.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000443/0.3622, allocations: 275.5 kB / 499.2 MB, free: 1.891 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.3624, allocations: 309.1 kB / 499.5 MB, free: 1.586 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.3637, allocations: 0.812 MB / 0.4885 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001657/0.3654, allocations: 1.211 MB / 0.4897 GB, free: 15.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003017/0.3684, allocations: 2.078 MB / 0.4918 GB, free: 13.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.3684, allocations: 8 kB / 0.4918 GB, free: 13.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.00445/0.3729, allocations: 2.527 MB / 0.4942 GB, free: 10.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.3729, allocations: 12.19 kB / 0.4942 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.3729, allocations: 8 kB / 0.4942 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001813/0.3747, allocations: 474.9 kB / 0.4947 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/0.3761, allocations: 335.5 kB / 0.495 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0057/0.3818, allocations: 4.228 MB / 0.4991 GB, free: 5.496 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.3831, allocations: 87.81 kB / 0.4992 GB, free: 5.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/0.3832, allocations: 63.98 kB / 0.4993 GB, free: 5.348 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.00172/0.3849, allocations: 1.048 MB / 0.5003 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004431/0.3854, allocations: 198.8 kB / 0.5005 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003706/0.3891, allocations: 2.141 MB / 0.5026 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.349e-05/0.3891, allocations: 23.94 kB / 0.5026 GB, free: 1.914 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.537e-06/0.3891, allocations: 4 kB / 0.5026 GB, free: 1.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/0.3892, allocations: 7.969 kB / 0.5026 GB, free: 1.902 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009061/0.3982, allocations: 4.877 MB / 0.5074 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.3982, allocations: 4.062 kB / 0.5074 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.3992, allocations: 231.6 kB / 0.5076 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001716/0.401, allocations: 460.8 kB / 0.5081 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-05/0.4011, allocations: 27.98 kB / 0.5081 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005626/0.4067, allocations: 4.156 MB / 0.5121 GB, free: 7.961 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.4067, allocations: 4 kB / 0.5121 GB, free: 7.957 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005446/0.4121, allocations: 3.253 MB / 0.5153 GB, free: 4.664 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/0.4133, allocations: 394.6 kB / 0.5157 GB, free: 4.277 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002582/0.4136, allocations: 24 kB / 0.5157 GB, free: 4.254 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009971/0.4146, allocations: 95.95 kB / 0.5158 GB, free: 4.16 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002328/0.4148, allocations: 100.8 kB / 0.5159 GB, free: 4.059 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/0.4149, allocations: 43.98 kB / 0.516 GB, free: 4.016 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002129/0.417, allocations: 1.342 MB / 0.5173 GB, free: 2.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.417, allocations: 0 / 0.5173 GB, free: 2.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001839/0.4189, allocations: 0.5585 MB / 0.5178 GB, free: 2.121 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.006/0.4249, allocations: 3.929 MB / 0.5216 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003776/0.4287, allocations: 2.13 MB / 0.5237 GB, free: 12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.4287, allocations: 0 / 0.5237 GB, free: 12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001924/0.4306, allocations: 1.152 MB / 0.5249 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/0.4329, allocations: 0.502 MB / 0.5253 GB, free: 10.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2318/0.6647, allocations: 20.61 MB / 0.5455 GB, free: 97.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001491/0.6662, allocations: 1.868 MB / 0.5473 GB, free: 97.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001191/0.6674, allocations: 0.4905 MB / 0.5478 GB, free: 97.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/0.6684, allocations: 1.067 MB / 0.5488 GB, free: 96.19 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.6684, allocations: 0 / 0.5488 GB, free: 96.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08578/0.7542, allocations: 55.55 MB / 0.6031 GB, free: 42.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.96, allocations: 0 / 0.6031 GB, free: 42.39 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv. Warning: Get data of variable transformer.l2sigma.inductor[1].i from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.426173197105527]