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.0008837/0.0008837, 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.003618/0.003618, allocations: 162 kB / 24.69 MB, free: 8.891 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.8101/0.8101, allocations: 158.6 MB / 186.5 MB, free: 3.031 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 1.493e-06/1.493e-06, allocations: 0 / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.589e-05/1.738e-05, allocations: 2.281 kB / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.002433/0.002451, allocations: 2.734 MB / 301.2 MB, free: 0.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007986/0.003249, allocations: 0.6982 MB / 301.9 MB, free: 44 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.003359, allocations: 7.938 kB / 301.9 MB, free: 36 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1212/0.1245, allocations: 56.83 kB / 301.9 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003045/0.1248, allocations: 98.47 kB / 302 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.1251, allocations: 102.7 kB / 302.1 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003572/0.1255, allocations: 426.6 kB / 302.6 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.1257, allocations: 71.94 kB / 302.6 MB, free: 13.03 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002733/0.1259, allocations: 227.5 kB / 302.8 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.1261, allocations: 119.8 kB / 303 MB, free: 13 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.669e-05/0.1261, allocations: 32.53 kB / 303 MB, free: 13 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.61e-05/0.1261, allocations: 31.34 kB / 303 MB, free: 13 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.241e-05/0.1262, allocations: 75.42 kB / 303.1 MB, free: 12.99 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.042e-05/0.1263, allocations: 122.6 kB / 303.2 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003538/0.1266, allocations: 397.9 kB / 303.6 MB, free: 12.95 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1266, allocations: 8.844 kB / 303.6 MB, free: 12.94 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1266, allocations: 0 / 303.6 MB, free: 12.94 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1266, allocations: 0 / 303.6 MB, free: 12.94 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.000629/0.1273, allocations: 0.5643 MB / 304.2 MB, free: 12.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1273, allocations: 15.48 kB / 304.2 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.694e-05/0.1274, allocations: 64.89 kB / 304.3 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.243e-05/0.1274, allocations: 40.45 kB / 304.3 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.1277, allocations: 224.2 kB / 304.5 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.1277, allocations: 21.16 kB / 304.5 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.1277, allocations: 25.38 kB / 304.6 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000354/0.1281, allocations: 416.5 kB / 305 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.1281, allocations: 192 / 305 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.1281, allocations: 10.44 kB / 305 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.1281, allocations: 10.56 kB / 305 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002815/0.1284, allocations: 217.3 kB / 305.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009728/0.1294, allocations: 0.8625 MB / 306.1 MB, free: 11.54 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.1297, allocations: 199.3 kB / 306.3 MB, free: 11.45 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.1298, allocations: 101.6 kB / 306.4 MB, free: 11.41 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.1298, allocations: 6.266 kB / 306.4 MB, free: 11.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.1298, allocations: 37.94 kB / 306.4 MB, free: 11.37 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.352e-06/0.1298, allocations: 1.062 kB / 306.4 MB, free: 11.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007164/0.1306, allocations: 414.5 kB / 306.8 MB, free: 11.22 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.647e-05/0.1306, allocations: 54.03 kB / 306.9 MB, free: 11.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.1308, allocations: 269.7 kB / 307.1 MB, free: 11 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.1308, allocations: 31.95 kB / 307.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.403e-05/0.1308, allocations: 183.6 kB / 307.3 MB, free: 10.8 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.1309, allocations: 73.09 kB / 307.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.013e-05/0.1309, allocations: 43.78 kB / 307.4 MB, free: 10.72 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.598e-05/0.1309, allocations: 332.8 kB / 307.8 MB, free: 10.4 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.1311, allocations: 80.86 kB / 307.9 MB, free: 10.37 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.1312, allocations: 106.8 kB / 308 MB, free: 10.32 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.1314, allocations: 182.1 kB / 308.1 MB, free: 10.24 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.1314, allocations: 0 / 308.1 MB, free: 10.24 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003554/0.1317, allocations: 325 kB / 308.5 MB, free: 10.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.1318, allocations: 5.062 kB / 308.5 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1318, allocations: 9.156 kB / 308.5 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001872/0.1319, allocations: 82.3 kB / 308.5 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.132, allocations: 37.12 kB / 308.6 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.1332, allocations: 2.825 MB / 311.4 MB, free: 7.363 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.934e-05/0.1333, allocations: 24.16 kB / 311.4 MB, free: 7.352 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.1333, allocations: 9.125 kB / 311.4 MB, free: 7.348 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 8.789e-05/0.1334, allocations: 139.6 kB / 311.6 MB, free: 7.219 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.1334, allocations: 29.16 kB / 311.6 MB, free: 7.203 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/0.1334, allocations: 35.23 kB / 311.6 MB, free: 7.18 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1334, allocations: 2 kB / 311.6 MB, free: 7.18 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1334, allocations: 4.578 kB / 311.6 MB, free: 7.18 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1334, allocations: 5.141 kB / 311.7 MB, free: 7.176 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006326/0.1341, allocations: 0.6188 MB / 312.3 MB, free: 6.758 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1341, allocations: 0.5625 kB / 312.3 MB, free: 6.758 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.757e-05/0.1341, allocations: 23.78 kB / 312.3 MB, free: 6.758 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001297/0.1343, allocations: 81.64 kB / 312.4 MB, free: 6.723 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.1343, allocations: 1.672 kB / 312.4 MB, free: 6.723 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/0.1353, allocations: 2.823 MB / 315.2 MB, free: 4.039 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1353, allocations: 0 / 315.2 MB, free: 4.039 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003394/0.1356, allocations: 377.1 kB / 315.6 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.452e-05/0.1357, allocations: 32.69 kB / 315.6 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.1357, allocations: 4.516 kB / 315.6 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.1358, allocations: 31.88 kB / 315.6 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.1359, allocations: 21.16 kB / 315.7 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.1359, allocations: 7.969 kB / 315.7 MB, free: 3.773 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001106/0.136, allocations: 189.6 kB / 315.8 MB, free: 3.664 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.136, allocations: 0 / 315.8 MB, free: 3.664 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002367/0.1362, allocations: 90.86 kB / 315.9 MB, free: 3.648 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.0004601/0.1367, allocations: 0.9166 MB / 316.9 MB, free: 2.883 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004603/0.1371, allocations: 442.6 kB / 317.3 MB, free: 2.586 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1371, allocations: 0 / 317.3 MB, free: 2.586 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.1373, allocations: 338.9 kB / 317.6 MB, free: 2.324 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.1376, allocations: 55.34 kB / 317.7 MB, free: 2.301 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.1396, allocations: 2.689 MB / 320.4 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.1398, allocations: 158.7 kB / 320.5 MB, free: 440 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.653e-05/0.1398, allocations: 26.48 kB / 320.5 MB, free: 428 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.087e-05/0.1399, allocations: 92.77 kB / 320.6 MB, free: 356 kB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1399, allocations: 0 / 320.6 MB, free: 356 kB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02239/0.1623, allocations: 7.484 MB / 328.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.899/7.061, allocations: 9.281 kB / 328.1 MB, free: 13.3 MB / 298.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowVariableResistor_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.612076521851122]