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.0008358/0.0008358, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003753/0.003753, allocations: 162.2 kB / 24.69 MB, free: 8.895 MB / 18.57 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 0.8884/0.8884, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 3.927e-06/3.927e-06, allocations: 3.984 kB / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.476e-05, allocations: 2.281 kB / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004699/0.004724, allocations: 2.734 MB / 301.2 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.006266, allocations: 0.6982 MB / 301.9 MB, free: 48 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002394/0.006505, allocations: 7.938 kB / 301.9 MB, free: 40 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1391/0.1456, allocations: 52.48 kB / 301.9 MB, free: 13.17 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004151/0.146, allocations: 104 kB / 302 MB, free: 13.17 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.1464, allocations: 94.66 kB / 302.1 MB, free: 13.17 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004838/0.1468, allocations: 431 kB / 302.6 MB, free: 13.05 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.147, allocations: 74.59 kB / 302.6 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000316/0.1474, allocations: 228.9 kB / 302.8 MB, free: 13.03 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.1475, allocations: 122 kB / 303 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.574e-05/0.1476, allocations: 32.69 kB / 303 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.575e-05/0.1476, allocations: 31.59 kB / 303 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.802e-05/0.1477, allocations: 74.69 kB / 303.1 MB, free: 13 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.1478, allocations: 122.6 kB / 303.2 MB, free: 12.99 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004332/0.1482, allocations: 395.5 kB / 303.6 MB, free: 12.96 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.1482, allocations: 2.562 kB / 303.6 MB, free: 12.96 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1482, allocations: 0 / 303.6 MB, free: 12.96 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.1482, allocations: 3.281 kB / 303.6 MB, free: 12.96 MB / 282.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.0007983/0.149, allocations: 0.5634 MB / 304.2 MB, free: 12.59 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.1491, allocations: 15.08 kB / 304.2 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.716e-05/0.1491, allocations: 62.66 kB / 304.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.673e-05/0.1492, allocations: 39.48 kB / 304.3 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.1496, allocations: 221.7 kB / 304.5 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.1496, allocations: 23.69 kB / 304.5 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.1496, allocations: 27.56 kB / 304.6 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004379/0.15, allocations: 416.5 kB / 305 MB, free: 12.13 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.1501, allocations: 192 / 305 MB, free: 12.13 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.1501, allocations: 13.69 kB / 305 MB, free: 12.13 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.1501, allocations: 10.47 kB / 305 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003097/0.1504, allocations: 217.5 kB / 305.2 MB, free: 12.1 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.1515, allocations: 0.8661 MB / 306.1 MB, free: 11.54 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.1519, allocations: 201.6 kB / 306.3 MB, free: 11.46 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.1521, allocations: 99.38 kB / 306.4 MB, free: 11.42 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.1521, allocations: 2.375 kB / 306.4 MB, free: 11.42 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.1521, allocations: 38.31 kB / 306.4 MB, free: 11.38 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.673e-06/0.1521, allocations: 4 kB / 306.4 MB, free: 11.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008976/0.153, allocations: 408.9 kB / 306.8 MB, free: 11.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.153, allocations: 58.09 kB / 306.9 MB, free: 11.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002619/0.1533, allocations: 268.3 kB / 307.1 MB, free: 11 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.1533, allocations: 27.86 kB / 307.2 MB, free: 10.97 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.34e-05/0.1534, allocations: 188 kB / 307.3 MB, free: 10.81 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.1534, allocations: 73.73 kB / 307.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-05/0.1535, allocations: 42.78 kB / 307.4 MB, free: 10.72 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.906e-05/0.1536, allocations: 333.7 kB / 307.8 MB, free: 10.4 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.1537, allocations: 76.05 kB / 307.8 MB, free: 10.38 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.1538, allocations: 109.1 kB / 308 MB, free: 10.33 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.1541, allocations: 183.7 kB / 308.1 MB, free: 10.24 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1541, allocations: 1.656 kB / 308.1 MB, free: 10.24 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004156/0.1545, allocations: 324 kB / 308.5 MB, free: 10.1 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.1545, allocations: 5.281 kB / 308.5 MB, free: 10.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.1545, allocations: 4.688 kB / 308.5 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002173/0.1547, allocations: 78.47 kB / 308.5 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.1548, allocations: 37.19 kB / 308.6 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.1562, allocations: 2.827 MB / 311.4 MB, free: 7.375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.1564, allocations: 25.11 kB / 311.4 MB, free: 7.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.1564, allocations: 4.812 kB / 311.4 MB, free: 7.363 MB / 282.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.0001289/0.1565, allocations: 147.3 kB / 311.6 MB, free: 7.227 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.765e-05/0.1566, allocations: 30.2 kB / 311.6 MB, free: 7.211 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.12e-05/0.1566, allocations: 34.86 kB / 311.6 MB, free: 7.188 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1566, allocations: 2.75 kB / 311.6 MB, free: 7.188 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.1566, allocations: 1.156 kB / 311.6 MB, free: 7.188 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.1566, allocations: 2.109 kB / 311.6 MB, free: 7.188 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006694/0.1573, allocations: 0.6242 MB / 312.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1573, allocations: 0 / 312.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.618e-05/0.1574, allocations: 31.94 kB / 312.3 MB, free: 6.762 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001369/0.1575, allocations: 69.41 kB / 312.4 MB, free: 6.734 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.1575, allocations: 5.094 kB / 312.4 MB, free: 6.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/0.1587, allocations: 2.822 MB / 315.2 MB, free: 4.047 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1587, allocations: 0.9844 kB / 315.2 MB, free: 4.047 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003909/0.1591, allocations: 379 kB / 315.6 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-05/0.1591, allocations: 33.34 kB / 315.6 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.1591, allocations: 1.594 kB / 315.6 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.1593, allocations: 29.88 kB / 315.6 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.373e-05/0.1593, allocations: 28.56 kB / 315.7 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.1594, allocations: 3.938 kB / 315.7 MB, free: 3.781 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001257/0.1595, allocations: 191.2 kB / 315.8 MB, free: 3.668 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1595, allocations: 0 / 315.8 MB, free: 3.668 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003315/0.1598, allocations: 90.73 kB / 315.9 MB, free: 3.652 MB / 282.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.0004779/0.1603, allocations: 0.9148 MB / 316.9 MB, free: 2.887 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005172/0.1608, allocations: 434.1 kB / 317.3 MB, free: 2.602 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1608, allocations: 1.594 kB / 317.3 MB, free: 2.602 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.161, allocations: 350.2 kB / 317.6 MB, free: 2.328 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.1613, allocations: 46.36 kB / 317.7 MB, free: 2.312 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/0.1638, allocations: 2.694 MB / 320.4 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.1639, allocations: 158.4 kB / 320.5 MB, free: 444 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.164, allocations: 26.47 kB / 320.5 MB, free: 432 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.238e-05/0.1641, allocations: 92.03 kB / 320.6 MB, free: 360 kB / 282.7 MB Notification: Performance of SimCode: time 1.353e-06/0.1641, allocations: 3.375 kB / 320.6 MB, free: 360 kB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02969/0.1938, allocations: 7.483 MB / 328.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.51/7.704, allocations: 9.156 kB / 328.1 MB, free: 13.32 MB / 298.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins/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: 9.43520584423095]