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.001306/0.001306, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001463/0.001463, allocations: 216.6 kB / 23.73 MB, free: 4.156 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.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.001695/0.001695, allocations: 63.84 kB / 377.8 MB, free: 3.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.282, allocations: 53.36 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005557/0.2876, allocations: 3.714 MB / 434.8 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.2896, allocations: 0.9308 MB / 435.8 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000474/0.2901, allocations: 11.94 kB / 435.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003317/0.2904, allocations: 95.06 kB / 435.9 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005779/0.291, allocations: 186.4 kB / 436 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005027/0.2915, allocations: 155.7 kB / 436.2 MB, free: 1.516 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009749/0.2925, allocations: 0.6771 MB / 436.9 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002911/0.2928, allocations: 131.7 kB / 437 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000542/0.2933, allocations: 274.9 kB / 437.3 MB, free: 440 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004501/0.2938, allocations: 254.6 kB / 437.5 MB, free: 184 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.2939, allocations: 60 kB / 437.6 MB, free: 124 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.2941, allocations: 60 kB / 437.6 MB, free: 64 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.2942, allocations: 127.5 kB / 437.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003105/0.2945, allocations: 254.8 kB / 438 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007509/0.2953, allocations: 0.6578 MB / 438.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2953, allocations: 0 / 438.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2953, allocations: 0 / 438.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.36e-05/0.2953, allocations: 0 / 438.7 MB, free: 15.03 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.001618/0.2969, allocations: 0.8086 MB / 439.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.297, allocations: 12.03 kB / 439.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001695/0.2971, allocations: 99.95 kB / 439.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003073/0.2975, allocations: 96.5 kB / 439.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006026/0.2981, allocations: 326 kB / 440 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.207e-05/0.2981, allocations: 41.69 kB / 440 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.708e-05/0.2982, allocations: 52.38 kB / 440.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009236/0.2991, allocations: 0.6423 MB / 440.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.2991, allocations: 3.938 kB / 440.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.168e-05/0.2992, allocations: 24 kB / 440.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.2992, allocations: 16 kB / 440.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006759/0.2999, allocations: 336.5 kB / 441.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002763/0.3026, allocations: 1.553 MB / 442.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004753/0.3031, allocations: 245.1 kB / 442.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002426/0.3033, allocations: 133.7 kB / 443 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.3034, allocations: 4 kB / 443 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.397e-05/0.3034, allocations: 46.44 kB / 443.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.723e-06/0.3034, allocations: 4 kB / 443.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001903/0.3053, allocations: 0.8255 MB / 443.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.3054, allocations: 81.11 kB / 444 MB, free: 9.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004656/0.3058, allocations: 401.5 kB / 444.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.3059, allocations: 33.7 kB / 444.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/0.3061, allocations: 300.1 kB / 444.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.3062, allocations: 119 kB / 444.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.3063, allocations: 78.08 kB / 444.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3065, allocations: 350.8 kB / 445.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.3067, allocations: 100.8 kB / 445.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.3069, allocations: 198.5 kB / 445.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000506/0.3074, allocations: 294.1 kB / 445.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3074, allocations: 4 kB / 445.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008389/0.3083, allocations: 452.1 kB / 446.3 MB, free: 7.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.3083, allocations: 8 kB / 446.3 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.3083, allocations: 320 / 446.3 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003395/0.3087, allocations: 85.59 kB / 446.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.309, allocations: 87.83 kB / 446.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002655/0.3116, allocations: 2.912 MB / 449.4 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/0.3119, allocations: 15.95 kB / 449.4 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.3119, allocations: 16 kB / 449.4 MB, free: 3.676 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.0001986/0.3121, allocations: 165.9 kB / 449.5 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.3122, allocations: 51.69 kB / 449.6 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.384e-05/0.3123, allocations: 51.33 kB / 449.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3123, allocations: 4 kB / 449.7 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3123, allocations: 0 / 449.7 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3123, allocations: 7.938 kB / 449.7 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.3137, allocations: 0.8848 MB / 450.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.3137, allocations: 192 / 450.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.3139, allocations: 39.98 kB / 450.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002578/0.3142, allocations: 85.58 kB / 450.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.3142, allocations: 11.98 kB / 450.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002512/0.3167, allocations: 2.913 MB / 453.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3167, allocations: 0 / 453.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009108/0.3176, allocations: 0.6059 MB / 454.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.507e-05/0.3177, allocations: 39.89 kB / 454.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.121e-05/0.3177, allocations: 11.98 kB / 454.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000329/0.3181, allocations: 32.03 kB / 454.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.329e-05/0.3181, allocations: 27.95 kB / 454.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.3181, allocations: 4 kB / 454.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003046/0.3184, allocations: 279.2 kB / 454.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3184, allocations: 0 / 454.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005656/0.319, allocations: 120 kB / 454.7 MB, free: 14.04 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.001271/0.3203, allocations: 1.174 MB / 455.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009044/0.3212, allocations: 0.4935 MB / 456.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3212, allocations: 0 / 456.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005987/0.3218, allocations: 373.2 kB / 456.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000537/0.3223, allocations: 57.8 kB / 456.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005983/0.3283, allocations: 4.222 MB / 461 MB, free: 7.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.3286, allocations: 250.2 kB / 461.3 MB, free: 7.207 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001701/0.3287, allocations: 43.28 kB / 461.3 MB, free: 7.164 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/0.329, allocations: 175.4 kB / 461.5 MB, free: 6.992 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.329, allocations: 0 / 461.5 MB, free: 6.992 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04788/0.3768, allocations: 9.989 MB / 471.5 MB, free: 13.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.85, allocations: 11.94 kB / 471.5 MB, free: 13.21 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: 16.13683395506814]