Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001461/0.001461, allocations: 108.5 kB / 21.18 MB, free: 0.6992 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.001549/0.001549, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 52.2 kB / 347.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3472, allocations: 49.17 MB / 396.4 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004089/0.3513, allocations: 2.978 MB / 399.3 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.3527, allocations: 0.7309 MB / 400.1 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001739/0.3529, allocations: 4.781 kB / 400.1 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.3531, allocations: 57.84 kB / 400.1 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.3533, allocations: 106.1 kB / 400.2 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.3536, allocations: 87.5 kB / 400.3 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004249/0.354, allocations: 418.5 kB / 400.7 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001941/0.3542, allocations: 86 kB / 400.8 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002153/0.3544, allocations: 155.1 kB / 401 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.3546, allocations: 160.4 kB / 401.1 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.667e-05/0.3547, allocations: 32.09 kB / 401.2 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.51e-05/0.3548, allocations: 35.59 kB / 401.2 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.59e-05/0.3548, allocations: 70.64 kB / 401.3 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.355, allocations: 178.8 kB / 401.4 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005043/0.3555, allocations: 394 kB / 401.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3555, allocations: 0 / 401.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3555, allocations: 0 / 401.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.3555, allocations: 0 / 401.8 MB, free: 5.641 MB / 318.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.0009964/0.3565, allocations: 0.5649 MB / 402.4 MB, free: 5.219 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.3566, allocations: 14 kB / 402.4 MB, free: 5.215 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.247e-05/0.3566, allocations: 63.36 kB / 402.5 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.924e-05/0.3567, allocations: 40.31 kB / 402.5 MB, free: 5.141 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/0.3571, allocations: 231.8 kB / 402.7 MB, free: 4.938 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.3571, allocations: 19.92 kB / 402.7 MB, free: 4.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.266e-05/0.3572, allocations: 26.69 kB / 402.8 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005527/0.3577, allocations: 261.6 kB / 403 MB, free: 4.805 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.3577, allocations: 0 / 403 MB, free: 4.805 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.3578, allocations: 12.41 kB / 403 MB, free: 4.797 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.3578, allocations: 6.562 kB / 403 MB, free: 4.797 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000489/0.3583, allocations: 217.8 kB / 403.3 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.3598, allocations: 0.9301 MB / 404.2 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004812/0.3603, allocations: 204.5 kB / 404.4 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/0.3605, allocations: 94.06 kB / 404.5 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.3605, allocations: 7.406 kB / 404.5 MB, free: 4 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.3605, allocations: 33.36 kB / 404.5 MB, free: 3.961 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.502e-06/0.3605, allocations: 4 kB / 404.5 MB, free: 3.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001257/0.3618, allocations: 410.1 kB / 404.9 MB, free: 3.801 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.3618, allocations: 57.84 kB / 405 MB, free: 3.734 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.3621, allocations: 264.3 kB / 405.2 MB, free: 3.574 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.3621, allocations: 31.05 kB / 405.3 MB, free: 3.539 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.3622, allocations: 184.1 kB / 405.4 MB, free: 3.383 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.243e-05/0.3623, allocations: 70.73 kB / 405.5 MB, free: 3.328 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.156e-05/0.3623, allocations: 48.75 kB / 405.6 MB, free: 3.293 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.74e-05/0.3624, allocations: 336.2 kB / 405.9 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.3626, allocations: 76.27 kB / 406 MB, free: 2.945 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.3628, allocations: 109.6 kB / 406.1 MB, free: 2.891 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003741/0.3632, allocations: 195.1 kB / 406.3 MB, free: 2.793 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3632, allocations: 0 / 406.3 MB, free: 2.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006307/0.3638, allocations: 326.4 kB / 406.6 MB, free: 2.637 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.3639, allocations: 4.188 kB / 406.6 MB, free: 2.637 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.3639, allocations: 5.375 kB / 406.6 MB, free: 2.633 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002993/0.3642, allocations: 70.22 kB / 406.7 MB, free: 2.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.3644, allocations: 38.75 kB / 406.7 MB, free: 2.602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/0.3663, allocations: 2.844 MB / 409.5 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.3666, allocations: 28.03 kB / 409.6 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.3666, allocations: 6.297 kB / 409.6 MB, free: 15.87 MB / 334.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.0002042/0.3668, allocations: 146.5 kB / 409.7 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.022e-05/0.3668, allocations: 25.55 kB / 409.7 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.797e-05/0.3669, allocations: 31.61 kB / 409.8 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.3669, allocations: 2.203 kB / 409.8 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.3669, allocations: 2.688 kB / 409.8 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3669, allocations: 1.406 kB / 409.8 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.3682, allocations: 0.6642 MB / 410.4 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3682, allocations: 1.625 kB / 410.4 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.3683, allocations: 24.17 kB / 410.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002154/0.3685, allocations: 77.75 kB / 410.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.3685, allocations: 7.938 kB / 410.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002792/0.3713, allocations: 2.832 MB / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3713, allocations: 0 / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007939/0.3721, allocations: 385.6 kB / 413.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.291e-05/0.3722, allocations: 32.67 kB / 413.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.3722, allocations: 9.516 kB / 413.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.3725, allocations: 37.73 kB / 413.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.086e-05/0.3726, allocations: 21.62 kB / 413.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.3726, allocations: 4.312 kB / 413.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002628/0.3729, allocations: 185.6 kB / 414 MB, free: 12.1 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3729, allocations: 1.438 kB / 414 MB, free: 12.1 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004673/0.3734, allocations: 95.27 kB / 414.1 MB, free: 12.08 MB / 334.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.00119/0.3745, allocations: 0.9086 MB / 415 MB, free: 11.31 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009327/0.3755, allocations: 438.1 kB / 415.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3755, allocations: 0.9375 kB / 415.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005069/0.376, allocations: 347.8 kB / 415.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/0.3764, allocations: 42.81 kB / 415.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004501/0.3809, allocations: 2.694 MB / 418.6 MB, free: 8.848 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004627/0.3814, allocations: 0.7654 MB / 419.3 MB, free: 8.109 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001319/0.3815, allocations: 20.64 kB / 419.3 MB, free: 8.098 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.3817, allocations: 90.84 kB / 419.4 MB, free: 8.02 MB / 334.1 MB Notification: Performance of SimCode: time 1.273e-06/0.3817, allocations: 0 / 419.4 MB, free: 8.02 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04262/0.4243, allocations: 6.669 MB / 426.1 MB, free: 4.484 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.1, allocations: 1.188 kB / 426.1 MB, free: 4.484 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Analog_Examples_ShowVariableResistor.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv. Warning: Get data of variable VariableResistor.i from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv failed! Error: Could not read variable R2.i in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv. Warning: Get data of variable R2.i from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.934434547001729]