Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.0008166/0.0008166, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008705/0.0008705, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8537/0.8537, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.ShowVariableResistor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.341e-05, allocations: 2.281 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.002954/0.002977, allocations: 2.81 MB / 327.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.004033, allocations: 0.7206 MB / 328.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.004164, allocations: 8 kB / 328.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.004299, allocations: 63.36 kB / 328.1 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.004433, allocations: 103 kB / 328.2 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.004718, allocations: 111.8 kB / 328.3 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.005006, allocations: 429.8 kB / 328.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.005161, allocations: 71.64 kB / 328.8 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002536/0.005415, allocations: 231.5 kB / 329.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.005526, allocations: 123.6 kB / 329.2 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.005561, allocations: 32 kB / 329.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.023e-05/0.005621, allocations: 36 kB / 329.2 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.617e-05/0.005657, allocations: 67.75 kB / 329.3 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003453/0.006003, allocations: 131.7 kB / 329.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.006297, allocations: 406.7 kB / 329.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.006299, allocations: 4 kB / 329.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.006301, allocations: 0 / 329.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.006306, allocations: 0 / 329.8 MB, free: 10.56 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0006052/0.006911, allocations: 0.5598 MB / 330.4 MB, free: 9.969 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.006949, allocations: 19.98 kB / 330.4 MB, free: 9.949 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.754e-05/0.006996, allocations: 66.66 kB / 330.5 MB, free: 9.875 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.007119, allocations: 44.7 kB / 330.5 MB, free: 9.832 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.007395, allocations: 221.2 kB / 330.7 MB, free: 9.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.007412, allocations: 17.03 kB / 330.8 MB, free: 9.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.007439, allocations: 32.36 kB / 330.8 MB, free: 9.539 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003957/0.007835, allocations: 416.8 kB / 331.2 MB, free: 9.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.007846, allocations: 8.172 kB / 331.2 MB, free: 9.082 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.007868, allocations: 12.12 kB / 331.2 MB, free: 9.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.007875, allocations: 8 kB / 331.2 MB, free: 9.062 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002852/0.00816, allocations: 210.5 kB / 331.4 MB, free: 8.859 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009685/0.009129, allocations: 0.8718 MB / 332.3 MB, free: 7.922 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.009443, allocations: 194.7 kB / 332.5 MB, free: 7.723 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.009568, allocations: 104.2 kB / 332.6 MB, free: 7.621 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.009585, allocations: 3.938 kB / 332.6 MB, free: 7.617 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.009608, allocations: 42.56 kB / 332.6 MB, free: 7.566 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.024e-06/0.00961, allocations: 7.938 kB / 332.6 MB, free: 7.559 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007222/0.01033, allocations: 403.2 kB / 333 MB, free: 7.152 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.01036, allocations: 55.34 kB / 333.1 MB, free: 7.086 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.01053, allocations: 265.9 kB / 333.4 MB, free: 6.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.01055, allocations: 33.69 kB / 333.4 MB, free: 6.781 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.924e-05/0.01063, allocations: 188.1 kB / 333.6 MB, free: 6.594 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.5e-05/0.01067, allocations: 75.38 kB / 333.6 MB, free: 6.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.951e-05/0.01072, allocations: 41.94 kB / 333.7 MB, free: 6.469 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.899e-05/0.01079, allocations: 338.8 kB / 334 MB, free: 6.129 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.01091, allocations: 80.36 kB / 334.1 MB, free: 6.051 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.01103, allocations: 99.47 kB / 334.2 MB, free: 5.945 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/0.01124, allocations: 186.5 kB / 334.4 MB, free: 5.754 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.01125, allocations: 0 / 334.4 MB, free: 5.754 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003707/0.01162, allocations: 330.8 kB / 334.7 MB, free: 5.418 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.01163, allocations: 7.938 kB / 334.7 MB, free: 5.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.01164, allocations: 0 / 334.7 MB, free: 5.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001801/0.01182, allocations: 69.67 kB / 334.8 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.01192, allocations: 39.97 kB / 334.8 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/0.0136, allocations: 2.825 MB / 337.6 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.0137, allocations: 31.77 kB / 337.7 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.01371, allocations: 4 kB / 337.7 MB, free: 2.207 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (20): * Single equations (assignments): 18 * 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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.01381, allocations: 148.9 kB / 337.8 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.01384, allocations: 27.8 kB / 337.8 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.494e-05/0.01387, allocations: 30.27 kB / 337.9 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.01387, allocations: 4 kB / 337.9 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.01388, allocations: 4 kB / 337.9 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.01388, allocations: 3.984 kB / 337.9 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000598/0.01448, allocations: 0.6202 MB / 338.5 MB, free: 1.305 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.01448, allocations: 192 / 338.5 MB, free: 1.305 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.219e-05/0.01454, allocations: 27.98 kB / 338.5 MB, free: 1.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000113/0.01465, allocations: 77.59 kB / 338.6 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.01467, allocations: 8 kB / 338.6 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.01598, allocations: 2.814 MB / 341.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01598, allocations: 0 / 341.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003482/0.01633, allocations: 389.5 kB / 341.8 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.569e-05/0.01635, allocations: 19.8 kB / 341.8 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.01637, allocations: 8 kB / 341.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.01649, allocations: 31.97 kB / 341.9 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.01655, allocations: 19.95 kB / 341.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.01656, allocations: 8 kB / 341.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001161/0.01667, allocations: 185.2 kB / 342.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01667, allocations: 4 kB / 342.1 MB, free: 13.47 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002765/0.01695, allocations: 99.78 kB / 342.2 MB, free: 13.38 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 11 * 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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005334/0.01748, allocations: 0.9171 MB / 343.1 MB, free: 12.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007107/0.0182, allocations: 437.1 kB / 343.5 MB, free: 11.97 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.0182, allocations: 0 / 343.5 MB, free: 11.97 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002108/0.01841, allocations: 349.2 kB / 343.9 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.01869, allocations: 44.59 kB / 343.9 MB, free: 11.56 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/0.0209, allocations: 2.706 MB / 346.6 MB, free: 8.742 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.021, allocations: 167.5 kB / 346.8 MB, free: 8.562 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.072e-05/0.02108, allocations: 22.28 kB / 346.8 MB, free: 8.535 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.916e-05/0.02117, allocations: 92.47 kB / 346.9 MB, free: 8.445 MB / 314.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02117, allocations: 0 / 346.9 MB, free: 8.445 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.04574, allocations: 7.52 MB / 354.4 MB, free: 1.094 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.065/7.111, allocations: 11.14 kB / 354.4 MB, free: 1.086 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowVariableResistor.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable VariableResistor.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv. Warning: Get data of variable VariableResistor.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv failed! Error: Could not read variable R2.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv. Warning: Get data of variable R2.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.834511647932231]