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.001651/0.001651, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002207/0.002207, allocations: 209.4 kB / 23.73 MB, free: 4.523 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.425/1.425, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.001547/0.001547, allocations: 47.88 kB / 377.8 MB, free: 2.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.288, 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.005251/0.2933, allocations: 3.708 MB / 434.8 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.2952, allocations: 0.9268 MB / 435.7 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002418/0.2954, allocations: 11.94 kB / 435.8 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.2957, allocations: 91.08 kB / 435.8 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003757/0.2961, allocations: 190.4 kB / 436 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004303/0.2965, allocations: 167.7 kB / 436.2 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006662/0.2972, allocations: 0.6692 MB / 436.9 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002728/0.2974, allocations: 149.4 kB / 437 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003388/0.2978, allocations: 267 kB / 437.3 MB, free: 436 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000332/0.2981, allocations: 302.6 kB / 437.6 MB, free: 132 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.798e-05/0.2982, allocations: 52 kB / 437.6 MB, free: 80 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.2983, allocations: 64 kB / 437.7 MB, free: 16 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.2984, allocations: 119.6 kB / 437.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002527/0.2987, allocations: 262.7 kB / 438.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006779/0.2994, allocations: 0.6573 MB / 438.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2994, allocations: 0 / 438.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2994, allocations: 0 / 438.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.2994, allocations: 0 / 438.7 MB, free: 14.98 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.001521/0.3009, allocations: 0.8047 MB / 439.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.3009, allocations: 15.97 kB / 439.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001548/0.3011, allocations: 103.9 kB / 439.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002958/0.3014, allocations: 96.48 kB / 439.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006487/0.302, allocations: 322 kB / 440 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.168e-05/0.3021, allocations: 37.69 kB / 440.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.372e-05/0.3022, allocations: 52.38 kB / 440.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009517/0.3031, allocations: 0.65 MB / 440.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.3031, allocations: 4 kB / 440.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.764e-05/0.3032, allocations: 24 kB / 440.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.3032, allocations: 16 kB / 440.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006293/0.3038, allocations: 336.4 kB / 441.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002708/0.3065, allocations: 1.545 MB / 442.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004849/0.307, allocations: 257 kB / 442.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/0.3073, allocations: 129.6 kB / 443.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.3073, allocations: 8 kB / 443.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.3073, allocations: 38.5 kB / 443.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.956e-06/0.3073, allocations: 4 kB / 443.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001959/0.3093, allocations: 0.82 MB / 443.9 MB, free: 9.469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.3093, allocations: 89.05 kB / 444 MB, free: 9.363 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004449/0.3098, allocations: 397.5 kB / 444.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.3098, allocations: 33.7 kB / 444.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.31, allocations: 304.1 kB / 444.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.219e-05/0.3101, allocations: 115 kB / 444.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.3102, allocations: 82.02 kB / 444.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3104, allocations: 346.8 kB / 445.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.3106, allocations: 100.8 kB / 445.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.3109, allocations: 198.5 kB / 445.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000477/0.3114, allocations: 306.9 kB / 445.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3114, allocations: 8 kB / 445.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008316/0.3122, allocations: 437.6 kB / 446.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.3122, allocations: 8 kB / 446.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.3122, allocations: 12.31 kB / 446.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000338/0.3126, allocations: 89.52 kB / 446.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003193/0.3129, allocations: 79.89 kB / 446.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002653/0.3156, allocations: 2.908 MB / 449.4 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002923/0.3159, allocations: 19.95 kB / 449.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.3159, allocations: 12.22 kB / 449.4 MB, free: 3.617 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.0002273/0.3161, allocations: 177.6 kB / 449.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.223e-05/0.3162, allocations: 47.7 kB / 449.7 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.039e-05/0.3163, allocations: 39.41 kB / 449.7 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3163, allocations: 4 kB / 449.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.3163, allocations: 4 kB / 449.7 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3163, allocations: 0 / 449.7 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.3177, allocations: 0.8867 MB / 450.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3177, allocations: 0 / 450.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.3178, allocations: 51.91 kB / 450.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002652/0.3181, allocations: 81.64 kB / 450.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.3181, allocations: 7.984 kB / 450.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002515/0.3206, allocations: 2.912 MB / 453.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3206, allocations: 0 / 453.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009325/0.3216, allocations: 0.6021 MB / 454.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.119e-05/0.3217, allocations: 39.78 kB / 454.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.882e-05/0.3217, allocations: 8 kB / 454.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/0.322, allocations: 28.05 kB / 454.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.536e-05/0.3221, allocations: 27.95 kB / 454.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.3221, allocations: 11.98 kB / 454.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003051/0.3224, allocations: 271.2 kB / 454.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3224, allocations: 0 / 454.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006092/0.3231, allocations: 120 kB / 454.7 MB, free: 14 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.001287/0.3243, allocations: 1.183 MB / 455.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009576/0.3253, allocations: 0.504 MB / 456.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.3253, allocations: 4 kB / 456.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005857/0.3259, allocations: 369.2 kB / 456.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005274/0.3264, allocations: 62.09 kB / 456.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005844/0.3323, allocations: 4.218 MB / 461.1 MB, free: 7.422 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.3325, allocations: 246.2 kB / 461.3 MB, free: 7.152 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001747/0.3327, allocations: 43.28 kB / 461.3 MB, free: 7.109 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/0.3329, allocations: 175.4 kB / 461.5 MB, free: 6.938 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3329, allocations: 0 / 461.5 MB, free: 6.938 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04692/0.3798, allocations: 10.13 MB / 471.6 MB, free: 13.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.59, allocations: 11.92 kB / 471.7 MB, free: 13.01 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.965648035984486]