Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.001233/0.001233, allocations: 116.9 kB / 18.49 MB, free: 4.559 MB / 14.72 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.001374/0.001374, allocations: 217.4 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.425/1.425, allocations: 230.6 MB / 254.8 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 48.06 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1275, allocations: 53.33 MB / 427 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002703/0.1302, allocations: 1.472 MB / 428.5 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001844/0.1304, allocations: 31.84 kB / 428.5 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.499e-05/0.1304, allocations: 0 / 428.5 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.758e-05/0.1305, allocations: 7.938 kB / 428.5 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.275e-05/0.1305, allocations: 3.938 kB / 428.5 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.1307, allocations: 23.97 kB / 428.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.496e-05/0.1308, allocations: 27.92 kB / 428.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.196e-05/0.1309, allocations: 11.98 kB / 428.6 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.254e-05/0.1309, allocations: 11.94 kB / 428.6 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.198e-05/0.131, allocations: 15.92 kB / 428.6 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.131, allocations: 7.984 kB / 428.6 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.061e-05/0.131, allocations: 4 kB / 428.6 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.1311, allocations: 0 / 428.6 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.023e-05/0.1311, allocations: 19.88 kB / 428.7 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.623e-05/0.1312, allocations: 31.77 kB / 428.7 MB, free: 3.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1312, allocations: 4 kB / 428.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1312, allocations: 4 kB / 428.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.1312, allocations: 0 / 428.7 MB, free: 3.086 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005092/0.1317, allocations: 339.5 kB / 429 MB, free: 2.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.1318, allocations: 12.03 kB / 429 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.289e-05/0.1318, allocations: 192 / 429 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.23e-05/0.1318, allocations: 30.75 kB / 429.1 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/0.1318, allocations: 8.891 kB / 429.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.1321, allocations: 184.3 kB / 429.3 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.1321, allocations: 8.312 kB / 429.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.1321, allocations: 384 / 429.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.1325, allocations: 127.6 kB / 429.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1325, allocations: 0 / 429.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.1325, allocations: 0 / 429.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1325, allocations: 3.938 kB / 429.4 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.1326, allocations: 31.97 kB / 429.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000173/0.1328, allocations: 153.7 kB / 429.6 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.133, allocations: 58.48 kB / 429.6 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8e-05/0.1331, allocations: 24.92 kB / 429.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.1331, allocations: 0 / 429.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.1331, allocations: 38.48 kB / 429.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1331, allocations: 4 kB / 429.7 MB, free: 1.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002915/0.1334, allocations: 81.61 kB / 429.8 MB, free: 1.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.759e-05/0.1335, allocations: 55.41 kB / 429.8 MB, free: 1.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.751e-05/0.1335, allocations: 105.8 kB / 429.9 MB, free: 1.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.1336, allocations: 25.7 kB / 430 MB, free: 1.605 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.701e-05/0.1336, allocations: 88.12 kB / 430.1 MB, free: 1.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.1336, allocations: 4 kB / 430.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.1337, allocations: 13.72 kB / 430.1 MB, free: 1.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1338, allocations: 318.8 kB / 430.4 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.649e-05/0.1338, allocations: 7.984 kB / 430.4 MB, free: 1.164 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.431e-05/0.1339, allocations: 27.44 kB / 430.4 MB, free: 1.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.2e-05/0.1339, allocations: 39.38 kB / 430.5 MB, free: 1.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1339, allocations: 0 / 430.5 MB, free: 1.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001001/0.134, allocations: 65.58 kB / 430.5 MB, free: 1.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.134, allocations: 7.938 kB / 430.5 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.134, allocations: 4 kB / 430.5 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1341, allocations: 384 / 430.5 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.859e-05/0.1341, allocations: 11.98 kB / 430.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1341, allocations: 3.938 kB / 430.5 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.203e-05/0.1342, allocations: 4.125 kB / 430.6 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.1342, allocations: 11.94 kB / 430.6 MB, free: 0.9609 MB / 350.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: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.771e-05/0.1342, allocations: 113.8 kB / 430.7 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.1344, allocations: 65.78 kB / 430.7 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.334e-05/0.1344, allocations: 15.84 kB / 430.8 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1344, allocations: 0 / 430.8 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1345, allocations: 0 / 430.8 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1345, allocations: 0 / 430.8 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.1346, allocations: 161.6 kB / 430.9 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1346, allocations: 0 / 430.9 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.242e-05/0.1346, allocations: 19.92 kB / 430.9 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1347, allocations: 3.938 kB / 430.9 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.1347, allocations: 0 / 430.9 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1347, allocations: 0 / 430.9 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1347, allocations: 4 kB / 430.9 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.1348, allocations: 85.11 kB / 431 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.154e-05/0.1349, allocations: 81.05 kB / 431.1 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.1349, allocations: 3.984 kB / 431.1 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.209e-05/0.1349, allocations: 8 kB / 431.1 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-06/0.1349, allocations: 0 / 431.1 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.135, allocations: 4 kB / 431.1 MB, free: 300 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.686e-05/0.135, allocations: 87.27 kB / 431.2 MB, free: 212 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.135, allocations: 0 / 431.2 MB, free: 212 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.000179/0.1352, allocations: 4 kB / 431.2 MB, free: 208 kB / 350.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: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0006096/0.1358, allocations: 0.6514 MB / 431.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001471/0.1359, allocations: 31.91 kB / 431.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.1359, allocations: 4 kB / 431.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.1359, allocations: 4 kB / 431.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.1362, allocations: 19.98 kB / 431.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.1373, allocations: 1.184 MB / 433.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.1376, allocations: 0.6845 MB / 433.8 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.324e-05/0.1376, allocations: 4 kB / 433.8 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.1377, allocations: 15.42 kB / 433.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1377, allocations: 0 / 433.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01649/0.1542, allocations: 1.429 MB / 435.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.734/7.888, allocations: 11.67 kB / 435.2 MB, free: 12.16 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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: 10.416907267004717]