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.001355/0.001355, allocations: 115.6 kB / 18.45 MB, free: 4.566 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.001584/0.001584, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.65/1.65, allocations: 207.6 MB / 231.8 MB, free: 3.949 MB / 174.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.001846/0.001846, allocations: 47.94 kB / 342.3 MB, free: 9.949 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1073, allocations: 49.13 MB / 391.4 MB, free: 8.648 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004787/0.1121, allocations: 2.963 MB / 394.4 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.1137, allocations: 0.7291 MB / 395.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.1139, allocations: 7.938 kB / 395.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002025/0.1141, allocations: 51.44 kB / 395.2 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002224/0.1143, allocations: 103.1 kB / 395.3 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.1146, allocations: 95.8 kB / 395.4 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005043/0.1151, allocations: 414 kB / 395.8 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.1154, allocations: 87.03 kB / 395.9 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.1156, allocations: 151.5 kB / 396 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.1158, allocations: 163.3 kB / 396.2 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.444e-05/0.1159, allocations: 32 kB / 396.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.234e-05/0.1159, allocations: 35.94 kB / 396.2 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.321e-05/0.116, allocations: 75.69 kB / 396.3 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.1162, allocations: 179.1 kB / 396.5 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004994/0.1167, allocations: 382.5 kB / 396.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1167, allocations: 0 / 396.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1167, allocations: 0 / 396.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.1167, allocations: 0 / 396.9 MB, free: 3.188 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.001113/0.1178, allocations: 0.6428 MB / 397.5 MB, free: 2.496 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.1179, allocations: 11.89 kB / 397.5 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.739e-05/0.1179, allocations: 66.73 kB / 397.6 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.66e-05/0.118, allocations: 36.7 kB / 397.6 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005108/0.1185, allocations: 283.8 kB / 397.9 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.1186, allocations: 20.94 kB / 397.9 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.373e-05/0.1186, allocations: 28.36 kB / 397.9 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005818/0.1192, allocations: 261 kB / 398.2 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1192, allocations: 0 / 398.2 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/0.1192, allocations: 8 kB / 398.2 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.1192, allocations: 8 kB / 398.2 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005467/0.1198, allocations: 222.1 kB / 398.4 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.1216, allocations: 0.9758 MB / 399.4 MB, free: 484 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005734/0.1221, allocations: 283.7 kB / 399.7 MB, free: 172 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/0.1224, allocations: 92.81 kB / 399.8 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.1224, allocations: 3.984 kB / 399.8 MB, free: 72 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.1224, allocations: 38.56 kB / 399.8 MB, free: 24 kB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.322e-06/0.1224, allocations: 0 / 399.8 MB, free: 24 kB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001452/0.1239, allocations: 0.556 MB / 400.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.1239, allocations: 51.41 kB / 400.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003126/0.1242, allocations: 262.6 kB / 400.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.1243, allocations: 33.7 kB / 400.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.1244, allocations: 180.2 kB / 400.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.566e-05/0.1245, allocations: 75.36 kB / 401 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.593e-05/0.1246, allocations: 49.89 kB / 401 MB, free: 14.74 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.1248, allocations: 338.8 kB / 401.3 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.125, allocations: 72.42 kB / 401.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.1253, allocations: 108.4 kB / 401.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004641/0.1257, allocations: 194.4 kB / 401.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1257, allocations: 0 / 401.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007399/0.1265, allocations: 322.9 kB / 402 MB, free: 13.69 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.1265, allocations: 4 kB / 402 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1265, allocations: 0 / 402 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003372/0.1268, allocations: 77.59 kB / 402.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.127, allocations: 39.92 kB / 402.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003204/0.1302, allocations: 3.048 MB / 405.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.1305, allocations: 31.89 kB / 405.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.1305, allocations: 4 kB / 405.2 MB, free: 10.2 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.0002244/0.1307, allocations: 146.1 kB / 405.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.549e-05/0.1308, allocations: 27.81 kB / 405.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.986e-05/0.1309, allocations: 30.17 kB / 405.4 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.1309, allocations: 8 kB / 405.4 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.1309, allocations: 3.938 kB / 405.4 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.1309, allocations: 8 kB / 405.4 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.1321, allocations: 0.668 MB / 406.1 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.1321, allocations: 4 kB / 406.1 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.1322, allocations: 31.92 kB / 406.1 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002275/0.1325, allocations: 81.58 kB / 406.2 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.1325, allocations: 4 kB / 406.2 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002915/0.1354, allocations: 3.04 MB / 409.3 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1354, allocations: 0 / 409.3 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000683/0.1361, allocations: 382.3 kB / 409.6 MB, free: 5.391 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.61e-05/0.1362, allocations: 108.9 kB / 409.7 MB, free: 5.266 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.1362, allocations: 0 / 409.7 MB, free: 5.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.1365, allocations: 35.97 kB / 409.8 MB, free: 5.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.088e-05/0.1366, allocations: 19.97 kB / 409.8 MB, free: 5.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.1366, allocations: 8 kB / 409.8 MB, free: 5.203 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002036/0.1368, allocations: 193.9 kB / 410 MB, free: 5.016 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1368, allocations: 0 / 410 MB, free: 5.016 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000433/0.1372, allocations: 95.83 kB / 410.1 MB, free: 4.922 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.001074/0.1383, allocations: 0.9053 MB / 411 MB, free: 3.984 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000902/0.1392, allocations: 445 kB / 411.4 MB, free: 3.523 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.1392, allocations: 0 / 411.4 MB, free: 3.523 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004905/0.1397, allocations: 345.2 kB / 411.8 MB, free: 3.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.1401, allocations: 56.56 kB / 411.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004072/0.1442, allocations: 2.707 MB / 414.5 MB, free: 300 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005137/0.1447, allocations: 0.7677 MB / 415.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.1448, allocations: 26.28 kB / 415.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.1449, allocations: 91.41 kB / 415.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of SimCode: time 1.162e-06/0.1449, allocations: 0 / 415.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03763/0.1826, allocations: 6.469 MB / 421.9 MB, free: 8.863 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.8, allocations: 3.984 kB / 421.9 MB, free: 8.859 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.614277714994387]