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.001219/0.001218, allocations: 91.75 kB / 16.65 MB, free: 6.59 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.001757/0.001758, allocations: 181.3 kB / 17.56 MB, free: 6.203 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.599/1.599, allocations: 223.3 MB / 241.6 MB, free: 116 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003619, allocations: 8 kB / 301.5 MB, free: 6.023 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1298, allocations: 50.41 MB / 351.9 MB, free: 3.602 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.001491/0.1314, allocations: 0.6649 MB / 352.6 MB, free: 2.934 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000407/0.1318, allocations: 119.6 kB / 352.7 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.1319, allocations: 3.938 kB / 352.7 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4e-05/0.132, allocations: 3.984 kB / 352.7 MB, free: 2.809 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001563/0.1322, allocations: 7.938 kB / 352.7 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.1325, allocations: 31.92 kB / 352.8 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.1326, allocations: 47.78 kB / 352.8 MB, free: 2.723 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.1327, allocations: 24.16 kB / 352.8 MB, free: 2.695 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.46e-05/0.1328, allocations: 7.938 kB / 352.8 MB, free: 2.688 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.163e-05/0.1328, allocations: 19.86 kB / 352.9 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.1329, allocations: 4 kB / 352.9 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.311e-05/0.1329, allocations: 0 / 352.9 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.993e-05/0.1329, allocations: 7.938 kB / 352.9 MB, free: 2.656 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.174e-05/0.133, allocations: 53.5 kB / 352.9 MB, free: 2.598 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.1331, allocations: 47.8 kB / 353 MB, free: 2.551 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1331, allocations: 0 / 353 MB, free: 2.551 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.594e-06/0.1331, allocations: 0 / 353 MB, free: 2.551 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.1332, allocations: 0 / 353 MB, free: 2.551 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.0004634/0.1336, allocations: 367.4 kB / 353.3 MB, free: 2.145 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.1337, allocations: 12.03 kB / 353.3 MB, free: 2.133 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.125e-05/0.1337, allocations: 38.73 kB / 353.4 MB, free: 2.086 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.1338, allocations: 8.844 kB / 353.4 MB, free: 2.078 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.134, allocations: 192.2 kB / 353.6 MB, free: 1.852 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.134, allocations: 384 / 353.6 MB, free: 1.852 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.134, allocations: 8.375 kB / 353.6 MB, free: 1.844 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003137/0.1344, allocations: 143.5 kB / 353.7 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1344, allocations: 0 / 353.7 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1344, allocations: 0 / 353.7 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1344, allocations: 4 kB / 353.7 MB, free: 1.688 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.448e-05/0.1345, allocations: 15.94 kB / 353.8 MB, free: 1.672 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002054/0.1347, allocations: 173.6 kB / 353.9 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.1349, allocations: 70.66 kB / 354 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.418e-05/0.135, allocations: 40.89 kB / 354 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.135, allocations: 0 / 354 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.135, allocations: 38.44 kB / 354.1 MB, free: 1.285 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 9.71e-07/0.135, allocations: 0 / 354.1 MB, free: 1.285 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002645/0.1353, allocations: 85.59 kB / 354.2 MB, free: 1.195 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.085e-05/0.1354, allocations: 63.41 kB / 354.2 MB, free: 1.121 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.1356, allocations: 131.6 kB / 354.3 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.1356, allocations: 29.7 kB / 354.4 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.883e-05/0.1357, allocations: 92.12 kB / 354.5 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.1357, allocations: 0 / 354.5 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.1358, allocations: 17.72 kB / 354.5 MB, free: 0.832 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1359, allocations: 314.8 kB / 354.8 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.662e-05/0.136, allocations: 15.94 kB / 354.8 MB, free: 0.5 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.774e-05/0.136, allocations: 62.95 kB / 354.9 MB, free: 424 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.1362, allocations: 70.75 kB / 354.9 MB, free: 328 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.1362, allocations: 4 kB / 354.9 MB, free: 324 kB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001998/0.1364, allocations: 93.64 kB / 355 MB, free: 224 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.1364, allocations: 8 kB / 355 MB, free: 216 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.1364, allocations: 4 kB / 355 MB, free: 212 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.1365, allocations: 0 / 355 MB, free: 212 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.1366, allocations: 19.94 kB / 355.1 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.1366, allocations: 0 / 355.1 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.1366, allocations: 4 kB / 355.1 MB, free: 188 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.1366, allocations: 4 kB / 355.1 MB, free: 184 kB / 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.0001352/0.1368, allocations: 125.8 kB / 355.2 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.1369, allocations: 81.52 kB / 355.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.954e-05/0.137, allocations: 12.72 kB / 355.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.137, allocations: 4 kB / 355.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.137, allocations: 0 / 355.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.137, allocations: 0 / 355.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.1372, allocations: 177.5 kB / 355.5 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1372, allocations: 0 / 355.5 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.698e-05/0.1373, allocations: 15.94 kB / 355.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.1373, allocations: 0 / 355.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.1373, allocations: 0 / 355.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.451e-06/0.1373, allocations: 7.938 kB / 355.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1373, allocations: 0 / 355.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.1375, allocations: 109 kB / 355.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.925e-05/0.1376, allocations: 96.94 kB / 355.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.1376, allocations: 0 / 355.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.934e-05/0.1377, allocations: 0 / 355.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-06/0.1377, allocations: 7.984 kB / 355.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.1377, allocations: 4 kB / 355.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.275e-05/0.1378, allocations: 106.2 kB / 355.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1378, allocations: 0 / 355.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.138, allocations: 16 kB / 355.8 MB, free: 15.33 MB / 302.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.0006835/0.1387, allocations: 0.6635 MB / 356.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001591/0.1389, allocations: 44.36 kB / 356.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.1389, allocations: 4.375 kB / 356.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.02e-07/0.1389, allocations: 0 / 356.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.1394, allocations: 51.89 kB / 356.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.1409, allocations: 1.357 MB / 357.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.1412, allocations: 0.7004 MB / 358.6 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.988e-05/0.1412, allocations: 0 / 358.6 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.305e-05/0.1413, allocations: 23.42 kB / 358.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1413, allocations: 0 / 358.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01247/0.1538, allocations: 1.489 MB / 360.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/0.154, allocations: 220.8 kB / 360.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.947/2.101, allocations: 0 / 360.4 MB, free: 10.71 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