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.001447/0.001447, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.001402/0.001402, allocations: 187.1 kB / 23.72 MB, free: 4.684 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.522/1.522, allocations: 225.6 MB / 252.5 MB, free: 13.05 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.00157/0.00157, allocations: 47.92 kB / 370.4 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2696, allocations: 52.19 MB / 422.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01063/0.2802, allocations: 7.85 MB / 430.5 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005975/0.2862, allocations: 2.66 MB / 433.1 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.2876, allocations: 91.31 kB / 433.2 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00156/0.2891, allocations: 0.5853 MB / 433.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002466/0.2916, allocations: 0.7731 MB / 434.6 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.2926, allocations: 427.3 kB / 435 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004055/0.2967, allocations: 3.276 MB / 438.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002775/0.2995, allocations: 2.004 MB / 440.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003212/0.3027, allocations: 1.708 MB / 442 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003569/0.3062, allocations: 2.079 MB / 444.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007962/0.307, allocations: 460 kB / 444.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.3085, allocations: 0.7532 MB / 445.3 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001259/0.3098, allocations: 1.258 MB / 446.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002375/0.3121, allocations: 1.968 MB / 448.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007102/0.3192, allocations: 6.121 MB / 454.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3192, allocations: 0 / 454.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3192, allocations: 4 kB / 454.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001926/0.3194, allocations: 0 / 454.6 MB, free: 14.45 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.009082/0.3285, allocations: 3.805 MB / 458.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.3286, allocations: 8.031 kB / 458.4 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006145/0.3292, allocations: 441.8 kB / 458.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009912/0.3302, allocations: 406.6 kB / 459.3 MB, free: 9.742 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004386/0.3346, allocations: 2.103 MB / 461.4 MB, free: 7.598 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002109/0.3348, allocations: 221.8 kB / 461.6 MB, free: 7.379 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004879/0.3353, allocations: 284 kB / 461.9 MB, free: 7.102 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007396/0.3426, allocations: 4.187 MB / 466.1 MB, free: 2.863 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.014e-05/0.3427, allocations: 4 kB / 466.1 MB, free: 2.859 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002759/0.343, allocations: 120 kB / 466.2 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001826/0.3432, allocations: 149.8 kB / 466.3 MB, free: 2.594 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006132/0.3493, allocations: 3.493 MB / 469.8 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.019/0.3683, allocations: 10.66 MB / 480.5 MB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002674/0.371, allocations: 1.651 MB / 482.1 MB, free: 2.582 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002524/0.3735, allocations: 1.407 MB / 483.5 MB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002253/0.3737, allocations: 48.97 kB / 483.6 MB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.202e-05/0.3738, allocations: 43.56 kB / 483.6 MB, free: 1.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.287e-06/0.3738, allocations: 0 / 483.6 MB, free: 1.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.009539/0.3833, allocations: 5.132 MB / 488.8 MB, free: 11.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.736e-05/0.3834, allocations: 98.42 kB / 488.9 MB, free: 11.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002886/0.3863, allocations: 1.909 MB / 490.8 MB, free: 9.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.3864, allocations: 45.7 kB / 490.8 MB, free: 9.828 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001081/0.3875, allocations: 1.353 MB / 492.2 MB, free: 8.461 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004139/0.3879, allocations: 479.9 kB / 492.6 MB, free: 7.988 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004455/0.3883, allocations: 271.5 kB / 492.9 MB, free: 7.715 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3884, allocations: 305.1 kB / 493.2 MB, free: 7.414 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.3898, allocations: 0.8237 MB / 494 MB, free: 6.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001591/0.3914, allocations: 1.175 MB / 495.2 MB, free: 5.273 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00298/0.3943, allocations: 2.082 MB / 497.3 MB, free: 3.047 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.3943, allocations: 4 kB / 497.3 MB, free: 3.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004433/0.3988, allocations: 2.527 MB / 499.8 MB, free: 0.5039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.3988, allocations: 15.94 kB / 499.8 MB, free: 500 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.3988, allocations: 8 kB / 499.8 MB, free: 492 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001862/0.4007, allocations: 480.3 kB / 0.4886 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.402, allocations: 335.5 kB / 0.4889 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005811/0.4078, allocations: 4.288 MB / 0.4931 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.4092, allocations: 83.92 kB / 0.4932 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/0.4093, allocations: 63.98 kB / 0.4932 GB, free: 11.14 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.001845/0.4112, allocations: 1.044 MB / 0.4942 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004788/0.4116, allocations: 198.8 kB / 0.4944 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003705/0.4153, allocations: 2.148 MB / 0.4965 GB, free: 7.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.503e-05/0.4154, allocations: 16 kB / 0.4965 GB, free: 7.715 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.4154, allocations: 4 kB / 0.4965 GB, free: 7.711 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/0.4154, allocations: 7.969 kB / 0.4966 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008995/0.4244, allocations: 5.142 MB / 0.5016 GB, free: 2.473 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.4244, allocations: 4.031 kB / 0.5016 GB, free: 2.469 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.4254, allocations: 227.7 kB / 0.5018 GB, free: 2.246 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001915/0.4273, allocations: 460.7 kB / 0.5022 GB, free: 1.793 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.4275, allocations: 39.91 kB / 0.5023 GB, free: 1.754 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00581/0.4333, allocations: 4.188 MB / 0.5064 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-05/0.4333, allocations: 7.938 kB / 0.5064 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005602/0.4389, allocations: 3.256 MB / 0.5096 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/0.4401, allocations: 398.6 kB / 0.5099 GB, free: 9.758 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002572/0.4404, allocations: 28 kB / 0.51 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009694/0.4413, allocations: 95.95 kB / 0.5101 GB, free: 9.637 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002485/0.4416, allocations: 104.7 kB / 0.5101 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.274e-05/0.4417, allocations: 39.98 kB / 0.5102 GB, free: 9.492 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002024/0.4437, allocations: 1.334 MB / 0.5115 GB, free: 8.164 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4437, allocations: 3.938 kB / 0.5115 GB, free: 8.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001658/0.4453, allocations: 0.5585 MB / 0.512 GB, free: 7.602 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.005956/0.4513, allocations: 3.939 MB / 0.5159 GB, free: 3.617 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003755/0.4551, allocations: 2.11 MB / 0.5179 GB, free: 1.492 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.4551, allocations: 0 / 0.5179 GB, free: 1.492 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002011/0.4571, allocations: 1.164 MB / 0.5191 GB, free: 324 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002456/0.4595, allocations: 0.5021 MB / 0.5196 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2373/0.6969, allocations: 20.58 MB / 0.5397 GB, free: 106.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001796/0.6987, allocations: 2.423 MB / 0.542 GB, free: 105.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001371/0.7, allocations: 0.4912 MB / 0.5425 GB, free: 105.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/0.7011, allocations: 1.063 MB / 0.5436 GB, free: 104.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.7011, allocations: 0 / 0.5436 GB, free: 104.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08762/0.7887, allocations: 53.49 MB / 0.5958 GB, free: 56.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.81/15.6, allocations: 22.67 kB / 0.5958 GB, free: 56.15 MB / 446.1 MB " [Timeout remaining time 644] (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: 18.142326271998172]