Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.001323/0.001323, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001563/0.001563, allocations: 208.1 kB / 23.73 MB, free: 4.387 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.41/1.41, allocations: 230.6 MB / 257.5 MB, free: 7.773 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.ShowVariableResistor,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 52.06 kB / 377.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2736, allocations: 53.36 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004458/0.2781, allocations: 2.793 MB / 433.9 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.2795, allocations: 0.7323 MB / 434.6 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002065/0.2797, allocations: 7.938 kB / 434.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001901/0.2799, allocations: 55.42 kB / 434.7 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000238/0.2801, allocations: 99.12 kB / 434.8 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004232/0.2806, allocations: 99.8 kB / 434.9 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000508/0.2811, allocations: 418.2 kB / 435.3 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.2813, allocations: 73.27 kB / 435.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003056/0.2816, allocations: 163.4 kB / 435.5 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.2818, allocations: 143.3 kB / 435.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.283e-05/0.2819, allocations: 32 kB / 435.7 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.282, allocations: 40 kB / 435.7 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.282e-05/0.282, allocations: 71.75 kB / 435.8 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.2822, allocations: 143.3 kB / 435.9 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004714/0.2827, allocations: 406.3 kB / 436.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2827, allocations: 0 / 436.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2827, allocations: 4 kB / 436.3 MB, free: 1.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.2827, allocations: 0 / 436.3 MB, free: 1.355 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.001043/0.2837, allocations: 0.5676 MB / 436.9 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.2838, allocations: 16.03 kB / 436.9 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.25e-05/0.2839, allocations: 58.73 kB / 437 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.284, allocations: 48.69 kB / 437 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/0.2845, allocations: 229.9 kB / 437.2 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.2845, allocations: 21.03 kB / 437.3 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.889e-05/0.2845, allocations: 24.38 kB / 437.3 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006051/0.2851, allocations: 420.4 kB / 437.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2852, allocations: 4 kB / 437.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.2852, allocations: 12 kB / 437.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.527e-06/0.2852, allocations: 4 kB / 437.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004878/0.2857, allocations: 214.5 kB / 437.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.2874, allocations: 0.8713 MB / 438.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005053/0.2879, allocations: 204.7 kB / 439 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.2881, allocations: 96.8 kB / 439.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.2881, allocations: 0 / 439.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.2881, allocations: 38.56 kB / 439.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.222e-06/0.2881, allocations: 0 / 439.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001212/0.2893, allocations: 411.1 kB / 439.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.2894, allocations: 55.41 kB / 439.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002956/0.2897, allocations: 269.7 kB / 439.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.2897, allocations: 37.7 kB / 439.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.2899, allocations: 192.2 kB / 440.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.171e-05/0.2899, allocations: 71.39 kB / 440.1 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.395e-05/0.29, allocations: 41.94 kB / 440.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.2902, allocations: 334.8 kB / 440.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.2904, allocations: 76.42 kB / 440.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.2906, allocations: 107.4 kB / 440.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003954/0.291, allocations: 186.5 kB / 440.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.291, allocations: 0 / 440.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007064/0.2917, allocations: 330.9 kB / 441.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.2917, allocations: 4 kB / 441.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2917, allocations: 4 kB / 441.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003014/0.292, allocations: 69.67 kB / 441.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.2922, allocations: 39.91 kB / 441.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002687/0.2949, allocations: 2.829 MB / 444.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.2951, allocations: 27.8 kB / 444.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.2951, allocations: 12 kB / 444.2 MB, free: 8.992 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.0001856/0.2953, allocations: 144.7 kB / 444.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.446e-05/0.2954, allocations: 23.86 kB / 444.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.282e-05/0.2954, allocations: 34.27 kB / 444.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.2954, allocations: 0 / 444.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.2954, allocations: 4 kB / 444.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2955, allocations: 3.984 kB / 444.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.2965, allocations: 0.6202 MB / 445 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2965, allocations: 0 / 445 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.2967, allocations: 23.98 kB / 445 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002067/0.2969, allocations: 85.72 kB / 445.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.2969, allocations: 4 kB / 445.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002552/0.2994, allocations: 2.814 MB / 447.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2994, allocations: 0 / 447.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006574/0.3001, allocations: 393.5 kB / 448.3 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.492e-05/0.3002, allocations: 27.73 kB / 448.3 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.3002, allocations: 4 kB / 448.4 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/0.3004, allocations: 31.97 kB / 448.4 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.944e-05/0.3005, allocations: 23.95 kB / 448.4 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.3005, allocations: 7.938 kB / 448.4 MB, free: 4.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001937/0.3007, allocations: 189.2 kB / 448.6 MB, free: 4.246 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3007, allocations: 0 / 448.6 MB, free: 4.246 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003945/0.3011, allocations: 103.8 kB / 448.7 MB, free: 4.145 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.0009818/0.3021, allocations: 0.9086 MB / 449.6 MB, free: 3.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008119/0.3029, allocations: 441.2 kB / 450 MB, free: 2.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.3029, allocations: 4 kB / 450 MB, free: 2.746 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004468/0.3034, allocations: 341.3 kB / 450.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.3037, allocations: 44.55 kB / 450.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00387/0.3076, allocations: 2.71 MB / 453.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001698/0.3078, allocations: 159.8 kB / 453.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001189/0.3079, allocations: 26.28 kB / 453.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.308, allocations: 91.41 kB / 453.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.308, allocations: 0 / 453.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04129/0.3493, allocations: 7.386 MB / 460.8 MB, free: 8.059 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.68, allocations: 12 kB / 460.8 MB, free: 8.051 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_Analog_Examples_ShowVariableResistor.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv. Warning: Get data of variable VariableResistor.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv failed! Error: Could not read variable R2.i in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv. Warning: Get data of variable R2.i from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.15123150870204]