Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 102 kB / 16.5 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001205, allocations: 193.9 kB / 17.42 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 222.9 MB / 241.1 MB, free: 15.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 47.39 kB / 300.1 MB, free: 6.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1253, allocations: 49.44 MB / 349.5 MB, free: 4.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.004024/0.1294, allocations: 1.005 MB / 350.5 MB, free: 3.754 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005367/0.1299, allocations: 119.6 kB / 350.6 MB, free: 3.637 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001979/0.1302, allocations: 4 kB / 350.6 MB, free: 3.633 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.1304, allocations: 7.922 kB / 350.6 MB, free: 3.625 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.1306, allocations: 3.938 kB / 350.6 MB, free: 3.621 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004252/0.131, allocations: 34.98 kB / 350.7 MB, free: 3.59 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.1312, allocations: 43.84 kB / 350.7 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.1313, allocations: 20.17 kB / 350.7 MB, free: 3.523 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.442e-05/0.1314, allocations: 19.86 kB / 350.8 MB, free: 3.504 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.412e-05/0.1315, allocations: 15.88 kB / 350.8 MB, free: 3.488 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.1315, allocations: 4 kB / 350.8 MB, free: 3.484 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.714e-05/0.1315, allocations: 4 kB / 350.8 MB, free: 3.48 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.576e-05/0.1316, allocations: 19.92 kB / 350.8 MB, free: 3.461 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.792e-05/0.1317, allocations: 23.8 kB / 350.8 MB, free: 3.438 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.1318, allocations: 51.81 kB / 350.9 MB, free: 3.387 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1318, allocations: 0 / 350.9 MB, free: 3.387 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1318, allocations: 0 / 350.9 MB, free: 3.387 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1318, allocations: 0 / 350.9 MB, free: 3.387 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004838/0.1323, allocations: 379.4 kB / 351.3 MB, free: 2.969 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.1324, allocations: 8.031 kB / 351.3 MB, free: 2.961 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.803e-05/0.1324, allocations: 34.75 kB / 351.3 MB, free: 2.918 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.1325, allocations: 12.84 kB / 351.3 MB, free: 2.906 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.1327, allocations: 204 kB / 351.5 MB, free: 2.668 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.1327, allocations: 4.375 kB / 351.5 MB, free: 2.664 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.1327, allocations: 8.375 kB / 351.5 MB, free: 2.656 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/0.133, allocations: 123.6 kB / 351.6 MB, free: 2.523 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.133, allocations: 0 / 351.6 MB, free: 2.523 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.1331, allocations: 8 kB / 351.6 MB, free: 2.516 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1331, allocations: 0 / 351.6 MB, free: 2.516 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.782e-05/0.1331, allocations: 15.98 kB / 351.7 MB, free: 2.5 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.1333, allocations: 181.4 kB / 351.8 MB, free: 2.273 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.1335, allocations: 66.66 kB / 351.9 MB, free: 2.199 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.499e-05/0.1335, allocations: 40.89 kB / 351.9 MB, free: 2.156 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.1335, allocations: 4 kB / 351.9 MB, free: 2.152 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.1336, allocations: 38.5 kB / 352 MB, free: 2.105 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.1336, allocations: 0 / 352 MB, free: 2.105 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002382/0.1338, allocations: 85.53 kB / 352.1 MB, free: 2.016 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/0.1339, allocations: 55.41 kB / 352.1 MB, free: 1.949 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.134, allocations: 140 kB / 352.3 MB, free: 1.805 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.134, allocations: 33.7 kB / 352.3 MB, free: 1.766 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/0.1341, allocations: 80.14 kB / 352.4 MB, free: 1.684 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.1341, allocations: 8 kB / 352.4 MB, free: 1.676 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-05/0.1342, allocations: 25.7 kB / 352.4 MB, free: 1.645 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1343, allocations: 314.8 kB / 352.7 MB, free: 1.328 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.075e-05/0.1343, allocations: 12 kB / 352.7 MB, free: 1.316 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.655e-05/0.1344, allocations: 62.94 kB / 352.8 MB, free: 1.23 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.917e-05/0.1345, allocations: 78.8 kB / 352.9 MB, free: 1.129 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1345, allocations: 0 / 352.9 MB, free: 1.129 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001337/0.1346, allocations: 89.34 kB / 352.9 MB, free: 1.035 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.1347, allocations: 4 kB / 353 MB, free: 1.031 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.1347, allocations: 4 kB / 353 MB, free: 1.027 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1347, allocations: 4 kB / 353 MB, free: 1.023 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.1348, allocations: 23.92 kB / 353 MB, free: 1 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.1348, allocations: 4.25 kB / 353 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.376e-05/0.1348, allocations: 4 kB / 353 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.1349, allocations: 4 kB / 353 MB, free: 0.9883 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001077/0.135, allocations: 117.8 kB / 353.1 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.1351, allocations: 77.47 kB / 353.2 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.946e-05/0.1351, allocations: 16.91 kB / 353.2 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1351, allocations: 0 / 353.2 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.1351, allocations: 3.938 kB / 353.2 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1352, allocations: 3.984 kB / 353.2 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.1353, allocations: 181.5 kB / 353.4 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1353, allocations: 0 / 353.4 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.881e-05/0.1354, allocations: 15.92 kB / 353.4 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.1354, allocations: 0 / 353.4 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.1354, allocations: 7.938 kB / 353.4 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.1354, allocations: 4 kB / 353.4 MB, free: 0.5 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1354, allocations: 0 / 353.4 MB, free: 0.5 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.1355, allocations: 101 kB / 353.5 MB, free: 392 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.273e-05/0.1356, allocations: 92.94 kB / 353.6 MB, free: 280 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.1356, allocations: 12 kB / 353.6 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.815e-05/0.1357, allocations: 0 / 353.6 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.436e-06/0.1357, allocations: 0 / 353.6 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.1357, allocations: 0 / 353.6 MB, free: 268 kB / 286.1 MB Notification: Performance of sorting global known variables: time 7.529e-05/0.1358, allocations: 107.2 kB / 353.7 MB, free: 160 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1358, allocations: 0 / 353.7 MB, free: 160 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002018/0.136, allocations: 12 kB / 353.7 MB, free: 148 kB / 286.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: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.000509/0.1365, allocations: 0.6674 MB / 354.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001229/0.1366, allocations: 43.92 kB / 354.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1366, allocations: 0 / 354.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.02e-07/0.1366, allocations: 0 / 354.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.137, allocations: 41.16 kB / 354.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.1383, allocations: 1.37 MB / 355.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.1386, allocations: 0.7004 MB / 356.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.093e-05/0.1386, allocations: 7.984 kB / 356.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.835e-05/0.1387, allocations: 15.44 kB / 356.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1387, allocations: 0 / 356.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4993/0.638, allocations: 1.545 MB / 358.1 MB, free: 11.69 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003559/0.6385, allocations: 215.9 kB / 358.3 MB, free: 11.44 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/2.508, allocations: 3.625 kB / 358.3 MB, free: 11.44 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches