Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001542/0.001542, allocations: 119.7 kB / 18.5 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001884/0.001884, allocations: 213.6 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.56/1.56, allocations: 230.2 MB / 254.5 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Resistor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Resistor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 67.89 kB / 373.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.121, allocations: 53.32 MB / 426.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003779/0.1248, allocations: 2.181 MB / 428.9 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.1259, allocations: 0.6077 MB / 429.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.431e-05/0.126, allocations: 4 kB / 429.5 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.1262, allocations: 23.78 kB / 429.5 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.552e-05/0.1263, allocations: 51.55 kB / 429.5 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.1265, allocations: 47.89 kB / 429.6 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.1267, allocations: 159.2 kB / 429.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.1269, allocations: 37.47 kB / 429.8 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.1271, allocations: 75.72 kB / 429.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.1272, allocations: 59.7 kB / 429.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.1272, allocations: 16 kB / 429.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.511e-05/0.1273, allocations: 24 kB / 429.9 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.653e-05/0.1273, allocations: 31.89 kB / 430 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.083e-05/0.1274, allocations: 79.55 kB / 430.1 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.1276, allocations: 159.3 kB / 430.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1276, allocations: 7.938 kB / 430.2 MB, free: 1.418 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1276, allocations: 0 / 430.2 MB, free: 1.418 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1277, allocations: 0 / 430.2 MB, free: 1.418 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.000658/0.1283, allocations: 447 kB / 430.7 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.1284, allocations: 12.03 kB / 430.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.518e-05/0.1284, allocations: 42.75 kB / 430.7 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.1286, allocations: 24.83 kB / 430.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.1289, allocations: 222.1 kB / 431 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.1289, allocations: 8.609 kB / 431 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.129, allocations: 16.36 kB / 431 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.1292, allocations: 123.6 kB / 431.1 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1292, allocations: 0 / 431.1 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.1292, allocations: 8 kB / 431.1 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1292, allocations: 0 / 431.1 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/0.1294, allocations: 76.67 kB / 431.2 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009108/0.1303, allocations: 0.6059 MB / 431.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.1306, allocations: 78.62 kB / 431.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.267e-05/0.1307, allocations: 28.97 kB / 431.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.1307, allocations: 3.938 kB / 431.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.1308, allocations: 42.5 kB / 431.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.1308, allocations: 4 kB / 431.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007154/0.1315, allocations: 247.5 kB / 432.2 MB, free: 15.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.1315, allocations: 59.34 kB / 432.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.1317, allocations: 153.7 kB / 432.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.1317, allocations: 29.7 kB / 432.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.02e-05/0.1318, allocations: 120.2 kB / 432.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.1318, allocations: 19.8 kB / 432.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.764e-05/0.1319, allocations: 25.72 kB / 432.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.132, allocations: 318.8 kB / 432.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.732e-05/0.1321, allocations: 23.98 kB / 432.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.821e-05/0.1322, allocations: 42.56 kB / 433 MB, free: 14.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.1323, allocations: 70.5 kB / 433 MB, free: 14.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1323, allocations: 0 / 433 MB, free: 14.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002958/0.1326, allocations: 142.3 kB / 433.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1326, allocations: 7.938 kB / 433.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1326, allocations: 256 / 433.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001938/0.1328, allocations: 44.78 kB / 433.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.091e-05/0.1329, allocations: 7.984 kB / 433.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/0.1347, allocations: 1.693 MB / 434.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.887e-05/0.1348, allocations: 7.953 kB / 434.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.1348, allocations: 0 / 434.9 MB, free: 12.26 MB / 366.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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001262/0.135, allocations: 129.8 kB / 435.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.135, allocations: 7.953 kB / 435.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.282e-05/0.135, allocations: 12.72 kB / 435.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.135, allocations: 0 / 435.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.135, allocations: 0 / 435.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.135, allocations: 4 kB / 435.1 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.1353, allocations: 217.5 kB / 435.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1353, allocations: 192 / 435.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.569e-05/0.1353, allocations: 4.109 kB / 435.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000121/0.1354, allocations: 44.78 kB / 435.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.1354, allocations: 3.938 kB / 435.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001503/0.1369, allocations: 1.678 MB / 437 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1369, allocations: 0 / 437 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.1373, allocations: 220.3 kB / 437.2 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/0.1373, allocations: 85.06 kB / 437.3 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.1373, allocations: 0 / 437.3 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.742e-05/0.1374, allocations: 8 kB / 437.3 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.1375, allocations: 12.02 kB / 437.3 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.1375, allocations: 4.188 kB / 437.3 MB, free: 9.609 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.1376, allocations: 122.4 kB / 437.5 MB, free: 9.492 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1376, allocations: 0 / 437.5 MB, free: 9.492 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003482/0.1379, allocations: 35.89 kB / 437.5 MB, free: 9.457 MB / 366.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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006829/0.1386, allocations: 0.7561 MB / 438.3 MB, free: 8.672 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004193/0.139, allocations: 186.5 kB / 438.4 MB, free: 8.477 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.139, allocations: 0 / 438.4 MB, free: 8.477 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002224/0.1392, allocations: 154.8 kB / 438.6 MB, free: 8.312 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.1395, allocations: 12 kB / 438.6 MB, free: 8.301 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.1416, allocations: 1.716 MB / 440.3 MB, free: 6.484 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.1419, allocations: 0.708 MB / 441 MB, free: 5.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.277e-05/0.142, allocations: 8.438 kB / 441 MB, free: 5.742 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.933e-05/0.1421, allocations: 35.42 kB / 441.1 MB, free: 5.707 MB / 366.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1421, allocations: 0 / 441.1 MB, free: 5.707 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02996/0.172, allocations: 3.079 MB / 444.1 MB, free: 2.727 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.79, allocations: 0 / 444.1 MB, free: 2.727 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_Resistor_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_Resistor.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Resistor/Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.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: 14.62315474357456]