Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001235/0.001235, allocations: 132.4 kB / 17.79 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001389/0.001389, allocations: 210.5 kB / 20.75 MB, free: 2.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 230.4 MB / 254 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 67.83 kB / 373 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1038, allocations: 53.38 MB / 426.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005091/0.1088, allocations: 4.123 MB / 430.5 MB, free: 464 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2165/0.3253, allocations: 0.9576 MB / 431.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002761/0.3256, allocations: 11.69 kB / 431.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.3259, allocations: 94.7 kB / 431.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003295/0.3262, allocations: 186.7 kB / 431.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.3266, allocations: 158.8 kB / 431.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006489/0.3272, allocations: 0.6777 MB / 432.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002468/0.3275, allocations: 143.8 kB / 432.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003342/0.3278, allocations: 273.3 kB / 433 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.3281, allocations: 288.7 kB / 433.3 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.211e-05/0.3281, allocations: 57.25 kB / 433.3 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.3283, allocations: 59.22 kB / 433.4 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.975e-05/0.3283, allocations: 128.8 kB / 433.5 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002312/0.3286, allocations: 311.1 kB / 433.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006009/0.3292, allocations: 0.6469 MB / 434.5 MB, free: 7.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3292, allocations: 0 / 434.5 MB, free: 7.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.3292, allocations: 1.031 kB / 434.5 MB, free: 7.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.3292, allocations: 0 / 434.5 MB, free: 7.035 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.00138/0.3306, allocations: 0.8843 MB / 435.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.3306, allocations: 12.61 kB / 435.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001324/0.3307, allocations: 109.5 kB / 435.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002999/0.331, allocations: 86.81 kB / 435.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000487/0.3315, allocations: 389.2 kB / 435.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.3316, allocations: 38.34 kB / 436 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.026e-05/0.3316, allocations: 53.48 kB / 436 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008293/0.3325, allocations: 0.5011 MB / 436.5 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.3325, allocations: 1.375 kB / 436.5 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.466e-05/0.3325, allocations: 24.66 kB / 436.6 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.3325, allocations: 13.78 kB / 436.6 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006385/0.3332, allocations: 338.4 kB / 436.9 MB, free: 5.926 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002608/0.3358, allocations: 1.724 MB / 438.6 MB, free: 4.848 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000436/0.3362, allocations: 246.5 kB / 438.9 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.3364, allocations: 133.2 kB / 439 MB, free: 4.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.3365, allocations: 11.98 kB / 439 MB, free: 4.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.3365, allocations: 45.03 kB / 439.1 MB, free: 4.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.763e-06/0.3365, allocations: 0 / 439.1 MB, free: 4.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001799/0.3383, allocations: 0.9678 MB / 440 MB, free: 3.938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.3383, allocations: 82.23 kB / 440.1 MB, free: 3.844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004174/0.3387, allocations: 385.1 kB / 440.5 MB, free: 3.652 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.3388, allocations: 31.95 kB / 440.5 MB, free: 3.617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.3389, allocations: 310 kB / 440.8 MB, free: 3.367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.573e-05/0.339, allocations: 122.2 kB / 440.9 MB, free: 3.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.3391, allocations: 75.8 kB / 441 MB, free: 3.227 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.561e-05/0.3392, allocations: 347.9 kB / 441.3 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.3394, allocations: 104 kB / 441.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.3396, allocations: 197.6 kB / 441.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004198/0.34, allocations: 304.9 kB / 441.9 MB, free: 2.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.34, allocations: 1.125 kB / 441.9 MB, free: 2.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007952/0.3408, allocations: 449 kB / 442.4 MB, free: 2.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.3409, allocations: 10.25 kB / 442.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.3409, allocations: 7.281 kB / 442.4 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000352/0.3412, allocations: 81.52 kB / 442.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/0.3416, allocations: 78.56 kB / 442.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/0.3438, allocations: 3.133 MB / 445.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.3441, allocations: 20.12 kB / 445.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.3441, allocations: 16.75 kB / 445.7 MB, free: 15.19 MB / 366.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.0002712/0.3444, allocations: 167.2 kB / 445.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.3445, allocations: 49.5 kB / 445.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.209e-05/0.3446, allocations: 51.17 kB / 446 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3446, allocations: 3.219 kB / 446 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.497e-05/0.3446, allocations: 2.219 kB / 446 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.3446, allocations: 3.484 kB / 446 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/0.3463, allocations: 0.9466 MB / 446.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3463, allocations: 0 / 446.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.3465, allocations: 46.45 kB / 447 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002994/0.3468, allocations: 82.55 kB / 447.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.3468, allocations: 6.844 kB / 447.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002643/0.3495, allocations: 3.123 MB / 450.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3495, allocations: 0.6562 kB / 450.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.3505, allocations: 0.6283 MB / 450.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.3507, allocations: 115.9 kB / 450.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/0.3507, allocations: 6.953 kB / 450.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003602/0.3511, allocations: 30.89 kB / 451 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.457e-05/0.3511, allocations: 25.19 kB / 451 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.3512, allocations: 12.64 kB / 451 MB, free: 10.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003531/0.3515, allocations: 274 kB / 451.3 MB, free: 10.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3515, allocations: 5.062 kB / 451.3 MB, free: 10.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006384/0.3522, allocations: 118.3 kB / 451.4 MB, free: 10.59 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.001293/0.3535, allocations: 1.16 MB / 452.6 MB, free: 9.672 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000989/0.3544, allocations: 0.4957 MB / 453.1 MB, free: 9.355 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3544, allocations: 1.344 kB / 453.1 MB, free: 9.355 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006128/0.3551, allocations: 383.7 kB / 453.4 MB, free: 9.078 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004986/0.3556, allocations: 69.23 kB / 453.5 MB, free: 9.047 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006378/0.3619, allocations: 4.217 MB / 457.7 MB, free: 6.422 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005636/0.3625, allocations: 0.8504 MB / 458.6 MB, free: 5.707 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001947/0.3627, allocations: 42.47 kB / 458.6 MB, free: 5.695 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.3629, allocations: 173.9 kB / 458.8 MB, free: 5.562 MB / 366.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3629, allocations: 0 / 458.8 MB, free: 5.562 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04186/0.4048, allocations: 9.118 MB / 467.9 MB, free: 2.203 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.7, allocations: 9.344 kB / 467.9 MB, free: 2.195 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv. Warning: Get data of variable basicTransformer.i1 from file Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv failed! Error: Could not read variable basicTransformer.i2 in file Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv. Warning: Get data of variable basicTransformer.i2 from file Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv failed! Error: Could not read variable inductor22.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv. Warning: Get data of variable inductor22.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.771111942012794]