Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.001339/0.001339, allocations: 120 kB / 17.73 MB, free: 5.188 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.001333/0.001333, allocations: 186.9 kB / 20.68 MB, free: 2.25 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.585/1.585, allocations: 222.9 MB / 246.4 MB, free: 4.191 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.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 51.91 kB / 357.5 MB, free: 8.809 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1349, allocations: 49.44 MB / 406.9 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003365/0.1383, allocations: 1.551 MB / 408.5 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009265/0.1392, allocations: 466.7 kB / 408.9 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.375e-05/0.1393, allocations: 0 / 408.9 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.699e-05/0.1394, allocations: 3.938 kB / 408.9 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.1395, allocations: 11.92 kB / 409 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.1398, allocations: 51.83 kB / 409 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.1399, allocations: 31.86 kB / 409 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1401, allocations: 15.98 kB / 409.1 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.655e-05/0.1401, allocations: 23.86 kB / 409.1 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.648e-05/0.1402, allocations: 15.92 kB / 409.1 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.1403, allocations: 0 / 409.1 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.372e-05/0.1403, allocations: 4 kB / 409.1 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.088e-05/0.1403, allocations: 11.94 kB / 409.1 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.966e-05/0.1404, allocations: 27.8 kB / 409.1 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.1405, allocations: 48.03 kB / 409.2 MB, free: 5.062 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1406, allocations: 0 / 409.2 MB, free: 5.062 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1406, allocations: 0 / 409.2 MB, free: 5.062 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.1406, allocations: 4 kB / 409.2 MB, free: 5.059 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006075/0.1412, allocations: 368.8 kB / 409.5 MB, free: 4.652 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.1412, allocations: 12.03 kB / 409.6 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.444e-05/0.1413, allocations: 30.75 kB / 409.6 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.1413, allocations: 8.891 kB / 409.6 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.1417, allocations: 212.1 kB / 409.8 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.1417, allocations: 4.375 kB / 409.8 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.1417, allocations: 4.375 kB / 409.8 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.142, allocations: 93.22 kB / 409.9 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.142, allocations: 7.922 kB / 409.9 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.142, allocations: 4 kB / 409.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.142, allocations: 0 / 409.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.538e-05/0.1421, allocations: 19.98 kB / 409.9 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.1425, allocations: 253.8 kB / 410.2 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.1426, allocations: 57.14 kB / 410.2 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.662e-05/0.1427, allocations: 21.78 kB / 410.3 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.1427, allocations: 0 / 410.3 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.1428, allocations: 34.55 kB / 410.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.1428, allocations: 0 / 410.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002805/0.1431, allocations: 73.8 kB / 410.4 MB, free: 3.676 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.277e-05/0.1431, allocations: 88.97 kB / 410.5 MB, free: 3.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.1433, allocations: 136.2 kB / 410.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.1433, allocations: 25.7 kB / 410.6 MB, free: 3.398 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.891e-05/0.1434, allocations: 84.14 kB / 410.7 MB, free: 3.312 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.308e-05/0.1434, allocations: 4 kB / 410.7 MB, free: 3.309 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.1434, allocations: 21.66 kB / 410.7 MB, free: 3.281 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.1436, allocations: 318.8 kB / 411 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.193e-05/0.1437, allocations: 12.02 kB / 411 MB, free: 2.949 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.457e-05/0.1437, allocations: 21.72 kB / 411.1 MB, free: 2.922 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.037e-05/0.1438, allocations: 25.7 kB / 411.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1438, allocations: 0 / 411.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001185/0.1439, allocations: 53.69 kB / 411.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.144, allocations: 8 kB / 411.1 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.144, allocations: 0 / 411.1 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.144, allocations: 3.984 kB / 411.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.3e-05/0.1441, allocations: 8 kB / 411.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1441, allocations: 0 / 411.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.671e-05/0.1441, allocations: 4 kB / 411.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1441, allocations: 3.938 kB / 411.2 MB, free: 2.805 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001087/0.1443, allocations: 125.8 kB / 411.3 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.868e-05/0.1443, allocations: 41.66 kB / 411.3 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.508e-05/0.1444, allocations: 11.86 kB / 411.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1444, allocations: 0 / 411.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.1444, allocations: 0 / 411.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1444, allocations: 0 / 411.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.1446, allocations: 173.6 kB / 411.5 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1446, allocations: 0 / 411.5 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.262e-05/0.1447, allocations: 4 kB / 411.5 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.1447, allocations: 0 / 411.5 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.1447, allocations: 4.031 kB / 411.5 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1447, allocations: 8 kB / 411.5 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1447, allocations: 0 / 411.5 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.1449, allocations: 164.2 kB / 411.7 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.237e-05/0.145, allocations: 97.05 kB / 411.8 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.145, allocations: 0 / 411.8 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.306e-05/0.1451, allocations: 4.031 kB / 411.8 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.1451, allocations: 4 kB / 411.8 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.1451, allocations: 3.984 kB / 411.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.267e-05/0.1452, allocations: 105.3 kB / 411.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1452, allocations: 0 / 411.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002152/0.1455, allocations: 4 kB / 411.9 MB, free: 1.965 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 (2): * Single equations (assignments): 2 * 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.0005817/0.146, allocations: 0.7091 MB / 412.6 MB, free: 1.227 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.1462, allocations: 23.98 kB / 412.6 MB, free: 1.203 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1462, allocations: 0 / 412.6 MB, free: 1.203 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.078e-05/0.1462, allocations: 7.984 kB / 412.6 MB, free: 1.195 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.1466, allocations: 20.19 kB / 412.7 MB, free: 1.176 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.1481, allocations: 1.304 MB / 414 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.1485, allocations: 0.6923 MB / 414.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.103e-05/0.1485, allocations: 7.984 kB / 414.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.811e-05/0.1486, allocations: 15.42 kB / 414.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1486, allocations: 0 / 414.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02439/0.173, allocations: 1.475 MB / 416.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.27/8.443, allocations: 7.781 kB / 416.2 MB, free: 13.68 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.107404390117154]