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.001305/0.001305, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001477/0.001477, allocations: 206.2 kB / 23.72 MB, free: 4.391 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.411/1.411, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.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 0.0019/0.0019, allocations: 63.89 kB / 377.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2598, allocations: 53.41 MB / 431.1 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004575/0.2644, allocations: 2.797 MB / 433.9 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.2657, allocations: 0.7205 MB / 434.7 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.2658, allocations: 11.94 kB / 434.7 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.266, allocations: 59.48 kB / 434.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.2662, allocations: 99.06 kB / 434.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.2665, allocations: 103.8 kB / 434.9 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004415/0.267, allocations: 410.2 kB / 435.3 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.2672, allocations: 73.27 kB / 435.4 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002785/0.2674, allocations: 171.4 kB / 435.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.2676, allocations: 139.3 kB / 435.7 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.464e-05/0.2677, allocations: 32 kB / 435.7 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.522e-05/0.2678, allocations: 36 kB / 435.8 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.112e-05/0.2678, allocations: 79.73 kB / 435.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.268, allocations: 143.4 kB / 436 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004577/0.2684, allocations: 406.2 kB / 436.4 MB, free: 1.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2685, allocations: 0 / 436.4 MB, free: 1.199 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2685, allocations: 0 / 436.4 MB, free: 1.199 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.615e-06/0.2685, allocations: 0 / 436.4 MB, free: 1.199 MB / 334.1 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.001031/0.2695, allocations: 0.5676 MB / 437 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.2695, allocations: 11.98 kB / 437 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.51e-05/0.2696, allocations: 70.67 kB / 437 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001825/0.2698, allocations: 52.69 kB / 437.1 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004471/0.2702, allocations: 218 kB / 437.3 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.2703, allocations: 24.97 kB / 437.3 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.82e-05/0.2703, allocations: 24.38 kB / 437.4 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005984/0.2709, allocations: 412.4 kB / 437.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.2709, allocations: 0 / 437.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.2709, allocations: 16 kB / 437.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.271, allocations: 12 kB / 437.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004816/0.2714, allocations: 214.5 kB / 438 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/0.2731, allocations: 0.8674 MB / 438.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004934/0.2736, allocations: 202.6 kB / 439.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.2738, allocations: 107.2 kB / 439.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.2738, allocations: 4 kB / 439.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.2739, allocations: 38.56 kB / 439.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.413e-06/0.2739, allocations: 3.938 kB / 439.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001245/0.2751, allocations: 403.2 kB / 439.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.2752, allocations: 59.34 kB / 439.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003112/0.2755, allocations: 269.8 kB / 439.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.2755, allocations: 25.7 kB / 439.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.2757, allocations: 188.2 kB / 440.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.997e-05/0.2757, allocations: 79.36 kB / 440.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.082e-05/0.2758, allocations: 45.94 kB / 440.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.276, allocations: 334.8 kB / 440.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.2762, allocations: 76.42 kB / 440.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.2764, allocations: 111.4 kB / 440.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003999/0.2768, allocations: 187.3 kB / 440.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2768, allocations: 0 / 440.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006543/0.2774, allocations: 318.8 kB / 441.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.2774, allocations: 8 kB / 441.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2775, allocations: 4.062 kB / 441.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002899/0.2777, allocations: 73.67 kB / 441.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.2779, allocations: 39.91 kB / 441.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002593/0.2805, allocations: 2.817 MB / 444.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.2807, allocations: 35.8 kB / 444.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.2808, allocations: 4 kB / 444.2 MB, free: 8.844 MB / 350.1 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.0001666/0.2809, allocations: 145.7 kB / 444.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.785e-05/0.281, allocations: 27.86 kB / 444.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.433e-05/0.281, allocations: 30.33 kB / 444.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.281, allocations: 4 kB / 444.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.281, allocations: 3.938 kB / 444.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.281, allocations: 3.984 kB / 444.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.2822, allocations: 0.6243 MB / 445.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.2822, allocations: 4 kB / 445.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.2823, allocations: 23.98 kB / 445.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001936/0.2825, allocations: 73.66 kB / 445.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.2825, allocations: 4 kB / 445.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002475/0.285, allocations: 2.825 MB / 448 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.285, allocations: 0 / 448 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000663/0.2857, allocations: 384.9 kB / 448.4 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.221e-05/0.2857, allocations: 31.86 kB / 448.4 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.2857, allocations: 7.938 kB / 448.4 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.286, allocations: 27.97 kB / 448.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.051e-05/0.2861, allocations: 23.95 kB / 448.5 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.2861, allocations: 8 kB / 448.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001883/0.2863, allocations: 185.2 kB / 448.7 MB, free: 4.094 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2863, allocations: 0 / 448.7 MB, free: 4.094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003864/0.2867, allocations: 103.8 kB / 448.8 MB, free: 3.992 MB / 350.1 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.0009839/0.2876, allocations: 0.909 MB / 449.7 MB, free: 3.051 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007971/0.2884, allocations: 433.1 kB / 450.1 MB, free: 2.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2884, allocations: 0 / 450.1 MB, free: 2.602 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005091/0.289, allocations: 344.3 kB / 450.4 MB, free: 2.242 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.2893, allocations: 51.41 kB / 450.5 MB, free: 2.195 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003947/0.2933, allocations: 2.719 MB / 453.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.2935, allocations: 159.8 kB / 453.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001402/0.2936, allocations: 22.28 kB / 453.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.2938, allocations: 91.34 kB / 453.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2938, allocations: 4 kB / 453.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0392/0.333, allocations: 7.381 MB / 460.8 MB, free: 7.867 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.69, allocations: 0 / 460.8 MB, free: 7.867 MB / 366.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins1/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: 14.132066322956234]