Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00186/0.00186, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001507/0.001507, allocations: 213 kB / 24.47 MB, free: 3.547 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.454/1.454, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_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.00176/0.00176, allocations: 61.89 kB / 347.2 MB, free: 9.879 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2571, allocations: 49.15 MB / 396.4 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01015/0.2672, allocations: 6.838 MB / 403.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007114/0.2744, allocations: 2.624 MB / 405.8 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002298/0.2767, allocations: 77.38 kB / 405.9 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002043/0.2787, allocations: 0.5797 MB / 406.5 MB, free: 2.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003375/0.2821, allocations: 0.7717 MB / 407.2 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.2834, allocations: 448.1 kB / 407.7 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004497/0.2879, allocations: 3.402 MB / 411.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002926/0.2909, allocations: 1.854 MB / 412.9 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003934/0.2948, allocations: 1.695 MB / 414.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004848/0.2997, allocations: 2.005 MB / 416.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001231/0.3009, allocations: 461.1 kB / 417.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002064/0.3029, allocations: 0.6532 MB / 417.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001762/0.3047, allocations: 1.254 MB / 419 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003268/0.308, allocations: 1.591 MB / 420.6 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009645/0.3176, allocations: 6.134 MB / 426.7 MB, free: 4.785 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/0.3176, allocations: 4 kB / 426.7 MB, free: 4.781 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.3176, allocations: 0 / 426.7 MB, free: 4.781 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000241/0.3179, allocations: 7.875 kB / 426.7 MB, free: 4.773 MB / 334.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.01068/0.3286, allocations: 3.797 MB / 430.5 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.3286, allocations: 11.98 kB / 430.5 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006619/0.3293, allocations: 429.9 kB / 431 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009909/0.3303, allocations: 406.6 kB / 431.4 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003629/0.3339, allocations: 1.908 MB / 433.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001834/0.3341, allocations: 225.8 kB / 433.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004422/0.3345, allocations: 284 kB / 433.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007155/0.3417, allocations: 4.442 MB / 438.2 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.283e-05/0.3417, allocations: 4 kB / 438.2 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002675/0.342, allocations: 120 kB / 438.3 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001697/0.3422, allocations: 141.9 kB / 438.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005955/0.3481, allocations: 3.482 MB / 441.9 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01771/0.3658, allocations: 9.708 MB / 451.7 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002525/0.3683, allocations: 1.64 MB / 453.3 MB, free: 9.785 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002405/0.3708, allocations: 1.411 MB / 454.7 MB, free: 8.371 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002068/0.371, allocations: 44.95 kB / 454.8 MB, free: 8.328 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.485e-05/0.371, allocations: 51.56 kB / 454.8 MB, free: 8.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.907e-06/0.371, allocations: 0 / 454.8 MB, free: 8.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=133): time 0.009531/0.3805, allocations: 5.16 MB / 460 MB, free: 3.082 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.225e-05/0.3806, allocations: 98.42 kB / 460.1 MB, free: 2.969 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002794/0.3834, allocations: 1.925 MB / 462 MB, free: 1.039 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.3835, allocations: 57.69 kB / 462 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001016/0.3845, allocations: 1.35 MB / 463.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003915/0.3849, allocations: 483.9 kB / 463.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000424/0.3853, allocations: 267.5 kB / 464.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.3855, allocations: 312.9 kB / 464.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/0.3867, allocations: 0.812 MB / 465.2 MB, free: 13.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/0.3883, allocations: 1.212 MB / 466.5 MB, free: 12.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002863/0.3911, allocations: 2.083 MB / 468.5 MB, free: 10.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.3912, allocations: 8 kB / 468.5 MB, free: 10.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004243/0.3954, allocations: 2.528 MB / 471.1 MB, free: 7.598 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.3954, allocations: 11.91 kB / 471.1 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/0.3955, allocations: 19.98 kB / 471.1 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001744/0.3972, allocations: 475.2 kB / 471.6 MB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.3984, allocations: 331.5 kB / 471.9 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005656/0.4041, allocations: 4.246 MB / 476.1 MB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.4054, allocations: 91.86 kB / 476.2 MB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.4056, allocations: 63.98 kB / 476.3 MB, free: 2.266 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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.001748/0.4073, allocations: 1.048 MB / 477.3 MB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004985/0.4078, allocations: 202.7 kB / 477.5 MB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003798/0.4116, allocations: 2.125 MB / 479.7 MB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.572e-05/0.4117, allocations: 19.98 kB / 479.7 MB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.4117, allocations: 4 kB / 479.7 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.821e-05/0.4117, allocations: 7.969 kB / 479.7 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/0.4224, allocations: 4.873 MB / 484.6 MB, free: 9.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.4224, allocations: 0 / 484.6 MB, free: 9.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.4234, allocations: 235.6 kB / 484.8 MB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00178/0.4252, allocations: 457.2 kB / 485.2 MB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/0.4253, allocations: 27.98 kB / 485.3 MB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005622/0.4309, allocations: 4.144 MB / 489.4 MB, free: 4.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.4309, allocations: 4.031 kB / 489.4 MB, free: 4.906 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005223/0.4361, allocations: 3.252 MB / 492.7 MB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/0.4374, allocations: 394.6 kB / 493.1 MB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004188/0.4378, allocations: 28 kB / 493.1 MB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.439, allocations: 95.95 kB / 493.2 MB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002323/0.4392, allocations: 112.5 kB / 493.3 MB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.4393, allocations: 39.98 kB / 493.3 MB, free: 0.9531 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00233/0.4417, allocations: 1.338 MB / 494.7 MB, free: 15.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4417, allocations: 0 / 494.7 MB, free: 15.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002131/0.4438, allocations: 0.5585 MB / 495.2 MB, free: 15.06 MB / 414.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.006096/0.4499, allocations: 3.928 MB / 499.1 MB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003812/0.4537, allocations: 2.129 MB / 0.4895 GB, free: 8.938 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.4537, allocations: 0 / 0.4895 GB, free: 8.938 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002124/0.4558, allocations: 1.168 MB / 0.4907 GB, free: 7.754 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002885/0.4587, allocations: 0.5089 MB / 0.4912 GB, free: 7.242 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03694/0.4956, allocations: 20.63 MB / 0.5113 GB, free: 2.039 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002853/0.4985, allocations: 1.872 MB / 0.5131 GB, free: 136 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001672/0.5002, allocations: 0.4915 MB / 0.5136 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00172/0.5019, allocations: 1.062 MB / 0.5147 GB, free: 14.57 MB / 446.1 MB Notification: Performance of SimCode: time 1.243e-06/0.5019, allocations: 4 kB / 0.5147 GB, free: 14.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2722/0.7741, allocations: 55.46 MB / 0.5688 GB, free: 148.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/14.09, allocations: 1.156 kB / 0.5688 GB, free: 148.6 MB / 478.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv. Warning: Get data of variable transformer.l2sigma.inductor[1].i from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.610636190045625]