Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 116.8 kB / 17.74 MB, free: 5.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 186.9 kB / 20.68 MB, free: 2.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 222.9 MB / 246.4 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 43.92 kB / 357.5 MB, free: 8.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1264, allocations: 49.43 MB / 406.9 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.00364/0.1301, allocations: 1.547 MB / 408.5 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004727/0.1306, allocations: 143.5 kB / 408.6 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.996e-05/0.1307, allocations: 4 kB / 408.6 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.167e-05/0.1308, allocations: 3.938 kB / 408.6 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.131, allocations: 7.938 kB / 408.6 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.1313, allocations: 43.83 kB / 408.7 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.1314, allocations: 31.86 kB / 408.7 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.1315, allocations: 12 kB / 408.7 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.078e-05/0.1315, allocations: 19.92 kB / 408.7 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.507e-05/0.1316, allocations: 15.92 kB / 408.8 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.1316, allocations: 0 / 408.8 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.513e-05/0.1316, allocations: 4 kB / 408.8 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.077e-05/0.1317, allocations: 11.94 kB / 408.8 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.866e-05/0.1318, allocations: 23.8 kB / 408.8 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.1319, allocations: 48.03 kB / 408.8 MB, free: 5.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1319, allocations: 0 / 408.8 MB, free: 5.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1319, allocations: 0 / 408.8 MB, free: 5.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1319, allocations: 0 / 408.8 MB, free: 5.48 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006195/0.1325, allocations: 379.1 kB / 409.2 MB, free: 5.059 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.1326, allocations: 12.03 kB / 409.2 MB, free: 5.047 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.132e-05/0.1327, allocations: 34.69 kB / 409.3 MB, free: 5.004 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.1327, allocations: 8.891 kB / 409.3 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.133, allocations: 196.2 kB / 409.5 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.133, allocations: 4.375 kB / 409.5 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.1331, allocations: 4.375 kB / 409.5 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/0.1334, allocations: 121.6 kB / 409.6 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1334, allocations: 3.938 kB / 409.6 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.1334, allocations: 4 kB / 409.6 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1334, allocations: 0 / 409.6 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.873e-05/0.1335, allocations: 19.92 kB / 409.6 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.1339, allocations: 265.8 kB / 409.9 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.1342, allocations: 142.2 kB / 410 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.105e-05/0.1342, allocations: 33.7 kB / 410 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.1343, allocations: 4 kB / 410 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.1343, allocations: 30.56 kB / 410.1 MB, free: 4.023 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.1343, allocations: 0 / 410.1 MB, free: 4.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000272/0.1346, allocations: 77.56 kB / 410.2 MB, free: 3.941 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.1347, allocations: 77.11 kB / 410.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.1348, allocations: 144.6 kB / 410.4 MB, free: 3.695 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.1348, allocations: 25.7 kB / 410.4 MB, free: 3.664 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.015e-05/0.1349, allocations: 84.14 kB / 410.5 MB, free: 3.578 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.1349, allocations: 4 kB / 410.5 MB, free: 3.574 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.135, allocations: 21.67 kB / 410.5 MB, free: 3.547 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.1352, allocations: 322.8 kB / 410.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.952e-05/0.1352, allocations: 4 kB / 410.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.949e-05/0.1353, allocations: 43.42 kB / 410.9 MB, free: 3.164 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.815e-05/0.1354, allocations: 43.36 kB / 410.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.1354, allocations: 3.938 kB / 410.9 MB, free: 3.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001438/0.1355, allocations: 65.62 kB / 411 MB, free: 3.035 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.1356, allocations: 4 kB / 411 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.1356, allocations: 7.984 kB / 411 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.1356, allocations: 0 / 411 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.726e-05/0.1357, allocations: 11.94 kB / 411 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.1357, allocations: 0 / 411 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.246e-05/0.1357, allocations: 4 kB / 411 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.1357, allocations: 0 / 411 MB, free: 3.008 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.1358, allocations: 133.8 kB / 411.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-05/0.1359, allocations: 45.66 kB / 411.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.882e-05/0.136, allocations: 16.23 kB / 411.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.136, allocations: 0 / 411.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.136, allocations: 0 / 411.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.136, allocations: 4 kB / 411.2 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.1363, allocations: 169.6 kB / 411.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1363, allocations: 336 / 411.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.583e-05/0.1363, allocations: 8 kB / 411.4 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1363, allocations: 0 / 411.4 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.1363, allocations: 7.984 kB / 411.4 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.1364, allocations: 4 kB / 411.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1364, allocations: 3.938 kB / 411.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.1366, allocations: 164.3 kB / 411.5 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.908e-05/0.1366, allocations: 93.05 kB / 411.6 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.1367, allocations: 7.984 kB / 411.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.447e-05/0.1367, allocations: 4 kB / 411.6 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.1368, allocations: 4 kB / 411.7 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.1368, allocations: 3.938 kB / 411.7 MB, free: 2.242 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.466e-05/0.1369, allocations: 105 kB / 411.8 MB, free: 2.141 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1369, allocations: 0 / 411.8 MB, free: 2.141 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002167/0.1371, allocations: 4 kB / 411.8 MB, free: 2.137 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005991/0.1377, allocations: 0.7131 MB / 412.5 MB, free: 1.395 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001549/0.1379, allocations: 27.92 kB / 412.5 MB, free: 1.367 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1379, allocations: 0 / 412.5 MB, free: 1.367 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.633e-05/0.1379, allocations: 4 kB / 412.5 MB, free: 1.363 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.1383, allocations: 20.33 kB / 412.5 MB, free: 1.344 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.1398, allocations: 1.326 MB / 413.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.1403, allocations: 0.6922 MB / 414.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.132e-05/0.1403, allocations: 4 kB / 414.5 MB, free: 15.19 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.1404, allocations: 15.44 kB / 414.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1404, allocations: 0 / 414.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.165, allocations: 1.49 MB / 416.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.365/8.531, allocations: 10.92 kB / 416.1 MB, free: 13.78 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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: 11.059775692876428]