Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.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.001315/0.001315, allocations: 111.9 kB / 20.43 MB, free: 1.473 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.001447/0.001447, allocations: 212 kB / 23.74 MB, free: 4.688 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.432/1.432, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 48.02 kB / 377.8 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2684, allocations: 53.36 MB / 431.2 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005635/0.274, allocations: 4.148 MB / 435.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.2759, allocations: 0.9619 MB / 436.3 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002177/0.2762, allocations: 11.94 kB / 436.3 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.2764, allocations: 95.06 kB / 436.4 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000369/0.2768, allocations: 190.4 kB / 436.6 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.2772, allocations: 159.7 kB / 436.7 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007397/0.2779, allocations: 0.6771 MB / 437.4 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002967/0.2782, allocations: 151.6 kB / 437.5 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004001/0.2786, allocations: 275 kB / 437.8 MB, free: 296 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003764/0.279, allocations: 286.7 kB / 438.1 MB, free: 8 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.614e-05/0.2791, allocations: 56.05 kB / 438.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.2792, allocations: 60 kB / 438.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.2794, allocations: 131.4 kB / 438.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002879/0.2796, allocations: 306.5 kB / 438.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007525/0.2804, allocations: 0.6499 MB / 439.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2804, allocations: 0 / 439.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2804, allocations: 0 / 439.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.2804, allocations: 4 kB / 439.3 MB, free: 14.81 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.00149/0.2819, allocations: 0.8125 MB / 440.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.2819, allocations: 8.031 kB / 440.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001704/0.2821, allocations: 104 kB / 440.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003075/0.2824, allocations: 88.48 kB / 440.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006312/0.2831, allocations: 322 kB / 440.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.741e-05/0.2831, allocations: 45.69 kB / 440.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.247e-05/0.2832, allocations: 52.38 kB / 440.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009229/0.2841, allocations: 0.4956 MB / 441.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.2841, allocations: 0 / 441.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.798e-05/0.2842, allocations: 23.98 kB / 441.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.2842, allocations: 16 kB / 441.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006463/0.2848, allocations: 344.3 kB / 441.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002733/0.2876, allocations: 1.666 MB / 443.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004809/0.288, allocations: 248.8 kB / 443.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002601/0.2883, allocations: 137.7 kB / 443.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.2883, allocations: 0 / 443.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.2884, allocations: 42.5 kB / 443.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.292e-06/0.2884, allocations: 0 / 443.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001905/0.2903, allocations: 0.8318 MB / 444.5 MB, free: 9.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/0.2903, allocations: 77.11 kB / 444.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000456/0.2908, allocations: 385.6 kB / 444.9 MB, free: 8.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.2908, allocations: 37.7 kB / 445 MB, free: 8.848 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/0.2911, allocations: 304 kB / 445.3 MB, free: 8.547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.2912, allocations: 123 kB / 445.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.2913, allocations: 70.14 kB / 445.5 MB, free: 8.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.2915, allocations: 350.8 kB / 445.8 MB, free: 8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.2917, allocations: 100.8 kB / 445.9 MB, free: 7.898 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002819/0.292, allocations: 194.6 kB / 446.1 MB, free: 7.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005013/0.2925, allocations: 314.8 kB / 446.4 MB, free: 7.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2925, allocations: 0 / 446.4 MB, free: 7.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008533/0.2933, allocations: 452.3 kB / 446.9 MB, free: 6.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.2933, allocations: 4 kB / 446.9 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.2933, allocations: 4 kB / 446.9 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003528/0.2937, allocations: 85.59 kB / 446.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003285/0.294, allocations: 83.92 kB / 447 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003138/0.2972, allocations: 2.916 MB / 449.9 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.2975, allocations: 28.06 kB / 450 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.2975, allocations: 16 kB / 450 MB, free: 3.516 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002589/0.2978, allocations: 169.8 kB / 450.2 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.769e-05/0.2979, allocations: 47.7 kB / 450.2 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.526e-05/0.2979, allocations: 43.41 kB / 450.2 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.298, allocations: 4 kB / 450.2 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.298, allocations: 0 / 450.2 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.298, allocations: 7.984 kB / 450.3 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.2995, allocations: 0.9199 MB / 451.2 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.2995, allocations: 4 kB / 451.2 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.2997, allocations: 43.91 kB / 451.2 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002789/0.3, allocations: 85.59 kB / 451.3 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.3, allocations: 8 kB / 451.3 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002724/0.3027, allocations: 2.924 MB / 454.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3027, allocations: 0 / 454.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009324/0.3037, allocations: 0.6128 MB / 454.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.026e-05/0.3037, allocations: 43.69 kB / 454.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.113e-05/0.3038, allocations: 11.94 kB / 454.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003254/0.3041, allocations: 31.98 kB / 454.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.836e-05/0.3042, allocations: 23.95 kB / 455 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.3042, allocations: 11.98 kB / 455 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003054/0.3045, allocations: 275.2 kB / 455.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3045, allocations: 0 / 455.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005902/0.3051, allocations: 120 kB / 455.4 MB, free: 13.83 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001334/0.3064, allocations: 1.168 MB / 456.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009748/0.3074, allocations: 0.4971 MB / 457 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.3074, allocations: 0.625 kB / 457 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006107/0.308, allocations: 373.2 kB / 457.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005191/0.3085, allocations: 63.89 kB / 457.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00613/0.3147, allocations: 4.232 MB / 461.7 MB, free: 7.262 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005418/0.3152, allocations: 0.8432 MB / 462.5 MB, free: 6.387 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001763/0.3154, allocations: 43.28 kB / 462.6 MB, free: 6.344 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.3156, allocations: 179.5 kB / 462.7 MB, free: 6.168 MB / 366.1 MB Notification: Performance of SimCode: time 9.21e-07/0.3156, allocations: 3.938 kB / 462.7 MB, free: 6.164 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0457/0.3613, allocations: 9.364 MB / 472.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.8, allocations: 21.05 kB / 472.1 MB, free: 12.97 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable basicTransformer.i1 in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv. Warning: Get data of variable basicTransformer.i1 from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv failed! Error: Could not read variable basicTransformer.i2 in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv. Warning: Get data of variable basicTransformer.i2 from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv failed! Error: Could not read variable inductor22.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv. Warning: Get data of variable inductor22.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.898091323000699]