Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.002019/0.002019, allocations: 95.09 kB / 16.65 MB, free: 6.586 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.002298/0.002298, allocations: 184 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.722/1.722, allocations: 223.3 MB / 241.6 MB, free: 200 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003466, allocations: 4 kB / 301.5 MB, free: 6.035 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1398, allocations: 50.41 MB / 351.9 MB, free: 3.609 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.001478/0.1414, allocations: 0.5658 MB / 352.5 MB, free: 3.043 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004596/0.1418, allocations: 119.6 kB / 352.6 MB, free: 2.926 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.142, allocations: 3.938 kB / 352.6 MB, free: 2.922 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.1422, allocations: 4 kB / 352.6 MB, free: 2.918 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.1424, allocations: 11.92 kB / 352.6 MB, free: 2.906 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.1427, allocations: 39.66 kB / 352.7 MB, free: 2.871 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.1429, allocations: 35.92 kB / 352.7 MB, free: 2.836 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.143, allocations: 19.98 kB / 352.7 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.841e-05/0.1431, allocations: 15.88 kB / 352.8 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.911e-05/0.1432, allocations: 15.92 kB / 352.8 MB, free: 2.785 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.824e-05/0.1432, allocations: 7.922 kB / 352.8 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.578e-05/0.1432, allocations: 4 kB / 352.8 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.64e-05/0.1433, allocations: 15.92 kB / 352.8 MB, free: 2.758 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.174e-05/0.1434, allocations: 45.52 kB / 352.8 MB, free: 2.707 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.1436, allocations: 59.72 kB / 352.9 MB, free: 2.648 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1436, allocations: 0 / 352.9 MB, free: 2.648 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.1436, allocations: 4 kB / 352.9 MB, free: 2.645 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1436, allocations: 0 / 352.9 MB, free: 2.645 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.000692/0.1443, allocations: 363.5 kB / 353.3 MB, free: 2.238 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.078e-05/0.1444, allocations: 11.97 kB / 353.3 MB, free: 2.227 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.151e-05/0.1444, allocations: 38.75 kB / 353.3 MB, free: 2.18 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.253e-05/0.1445, allocations: 8.844 kB / 353.3 MB, free: 2.172 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.1448, allocations: 196 kB / 353.5 MB, free: 1.941 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.1448, allocations: 4.375 kB / 353.5 MB, free: 1.938 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.1448, allocations: 4.375 kB / 353.5 MB, free: 1.934 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003447/0.1451, allocations: 151.7 kB / 353.7 MB, free: 1.773 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1452, allocations: 3.938 kB / 353.7 MB, free: 1.77 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.1452, allocations: 3.984 kB / 353.7 MB, free: 1.766 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1452, allocations: 0 / 353.7 MB, free: 1.766 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.556e-05/0.1453, allocations: 16 kB / 353.7 MB, free: 1.75 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00022/0.1455, allocations: 181.6 kB / 353.9 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.1457, allocations: 78.69 kB / 353.9 MB, free: 1.438 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.1458, allocations: 40.84 kB / 354 MB, free: 1.395 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.1458, allocations: 4 kB / 354 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.1459, allocations: 30.56 kB / 354 MB, free: 1.352 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 4.588e-06/0.1459, allocations: 3.984 kB / 354 MB, free: 1.348 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002735/0.1462, allocations: 105.7 kB / 354.1 MB, free: 1.238 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.889e-05/0.1463, allocations: 59.41 kB / 354.2 MB, free: 1.168 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.1464, allocations: 147.9 kB / 354.3 MB, free: 1.016 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.1465, allocations: 29.64 kB / 354.4 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.665e-05/0.1465, allocations: 88.14 kB / 354.4 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.1465, allocations: 3.984 kB / 354.4 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.1466, allocations: 17.72 kB / 354.5 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.1468, allocations: 318.8 kB / 354.8 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.337e-05/0.1468, allocations: 12 kB / 354.8 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.718e-05/0.1469, allocations: 58.86 kB / 354.8 MB, free: 460 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.177e-05/0.147, allocations: 74.94 kB / 354.9 MB, free: 360 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.147, allocations: 0 / 354.9 MB, free: 360 kB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001613/0.1471, allocations: 105.5 kB / 355 MB, free: 248 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.1472, allocations: 7.938 kB / 355 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.1472, allocations: 4 kB / 355 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1472, allocations: 0 / 355 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.619e-05/0.1473, allocations: 16 kB / 355 MB, free: 220 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1473, allocations: 3.984 kB / 355 MB, free: 216 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.799e-05/0.1474, allocations: 7.938 kB / 355.1 MB, free: 208 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.1474, allocations: 4 kB / 355.1 MB, free: 204 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: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * 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.0001301/0.1475, allocations: 129.9 kB / 355.2 MB, free: 64 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.1476, allocations: 85.52 kB / 355.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.669e-05/0.1477, allocations: 8.719 kB / 355.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1477, allocations: 4 kB / 355.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.1477, allocations: 0 / 355.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1477, allocations: 3.938 kB / 355.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.1479, allocations: 173.6 kB / 355.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1479, allocations: 0 / 355.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.712e-05/0.148, allocations: 16 kB / 355.5 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.148, allocations: 7.875 kB / 355.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.148, allocations: 11.98 kB / 355.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.148, allocations: 0 / 355.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.148, allocations: 0 / 355.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.1482, allocations: 105 kB / 355.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.356e-05/0.1483, allocations: 96.94 kB / 355.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.1483, allocations: 7.984 kB / 355.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.495e-05/0.1483, allocations: 0 / 355.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-06/0.1483, allocations: 0 / 355.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.1484, allocations: 4 kB / 355.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.523e-05/0.1485, allocations: 114.3 kB / 355.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1485, allocations: 0 / 355.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002124/0.1487, allocations: 12 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * 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.0006098/0.1493, allocations: 0.6752 MB / 356.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001383/0.1494, allocations: 51.97 kB / 356.5 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1495, allocations: 0 / 356.5 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.81e-07/0.1495, allocations: 0 / 356.5 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.1498, allocations: 56.12 kB / 356.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.1514, allocations: 1.392 MB / 358 MB, free: 13.01 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.1518, allocations: 0.6936 MB / 358.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.784e-05/0.1519, allocations: 8.656 kB / 358.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.07e-05/0.1519, allocations: 23.44 kB / 358.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1519, allocations: 0 / 358.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01386/0.1658, allocations: 1.56 MB / 360.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002866/0.1662, allocations: 223.4 kB / 360.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.068/2.234, allocations: 7.281 kB / 360.5 MB, free: 10.58 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches