Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001605/0.001605, allocations: 116.9 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002009/0.002009, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.562/1.562, allocations: 227.4 MB / 246.4 MB, free: 10.82 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 59.25 kB / 306.6 MB, free: 0.8711 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.138, allocations: 50.53 MB / 357.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002583/0.1406, allocations: 0.9018 MB / 358 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004288/0.1411, allocations: 119.7 kB / 358.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.1412, allocations: 0 / 358.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.1414, allocations: 7.922 kB / 358.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.1415, allocations: 4 kB / 358.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.1418, allocations: 43.91 kB / 358.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.1419, allocations: 35.91 kB / 358.2 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.142, allocations: 23.98 kB / 358.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.232e-05/0.1421, allocations: 23.84 kB / 358.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.687e-05/0.1422, allocations: 19.92 kB / 358.3 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.1422, allocations: 4 kB / 358.3 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.488e-05/0.1423, allocations: 8 kB / 358.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.806e-05/0.1423, allocations: 19.92 kB / 358.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.635e-05/0.1424, allocations: 27.75 kB / 358.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.1426, allocations: 55.8 kB / 358.4 MB, free: 13.06 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1426, allocations: 3.938 kB / 358.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1426, allocations: 0 / 358.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.1426, allocations: 0 / 358.4 MB, free: 13.05 MB / 302.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.0005363/0.1432, allocations: 389.9 kB / 358.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.1432, allocations: 8.031 kB / 358.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.841e-05/0.1432, allocations: 34.75 kB / 358.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.214e-05/0.1433, allocations: 16.84 kB / 358.8 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.1435, allocations: 188.2 kB / 359 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.1435, allocations: 4.375 kB / 359 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.1435, allocations: 8.359 kB / 359 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003141/0.1439, allocations: 151.6 kB / 359.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1439, allocations: 3.938 kB / 359.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.1439, allocations: 4 kB / 359.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1439, allocations: 0 / 359.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.368e-05/0.144, allocations: 19.98 kB / 359.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.1441, allocations: 181.6 kB / 359.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.1443, allocations: 70.7 kB / 359.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.065e-05/0.1444, allocations: 44.83 kB / 359.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.1444, allocations: 8 kB / 359.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/0.1444, allocations: 30.56 kB / 359.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.1444, allocations: 0 / 359.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.000209/0.1447, allocations: 105.5 kB / 359.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.1447, allocations: 55.41 kB / 359.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.1448, allocations: 144.6 kB / 359.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.1449, allocations: 25.7 kB / 359.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.439e-05/0.1449, allocations: 88.14 kB / 359.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.145, allocations: 7.906 kB / 359.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-05/0.145, allocations: 29.7 kB / 360 MB, free: 11.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002125/0.1452, allocations: 314.8 kB / 360.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.571e-05/0.1453, allocations: 11.98 kB / 360.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.891e-05/0.1453, allocations: 54.81 kB / 360.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.1455, allocations: 78.8 kB / 360.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1455, allocations: 0 / 360.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001328/0.1456, allocations: 97.39 kB / 360.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1457, allocations: 7.938 kB / 360.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1457, allocations: 4 kB / 360.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1457, allocations: 0 / 360.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.109e-05/0.1458, allocations: 16.25 kB / 360.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1458, allocations: 7.938 kB / 360.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.378e-05/0.1458, allocations: 19.88 kB / 360.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.1458, allocations: 4 kB / 360.6 MB, free: 10.58 MB / 302.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.0001667/0.146, allocations: 125.8 kB / 360.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.1461, allocations: 93.61 kB / 360.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.514e-05/0.1462, allocations: 12.7 kB / 360.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.741e-05/0.1462, allocations: 4 kB / 360.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1462, allocations: 0 / 360.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1462, allocations: 4.188 kB / 360.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.1463, allocations: 173.5 kB / 361 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1463, allocations: 3.938 kB / 361 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.989e-05/0.1464, allocations: 12 kB / 361 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1464, allocations: 3.938 kB / 361 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1464, allocations: 8 kB / 361 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1464, allocations: 0 / 361 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1465, allocations: 0 / 361 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.1466, allocations: 109 kB / 361.1 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.785e-05/0.1467, allocations: 96.94 kB / 361.2 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.1467, allocations: 7.938 kB / 361.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.42e-05/0.1467, allocations: 4 kB / 361.2 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-06/0.1467, allocations: 0 / 361.2 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.1467, allocations: 4 kB / 361.2 MB, free: 9.832 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.844e-05/0.1468, allocations: 107.2 kB / 361.3 MB, free: 9.727 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1468, allocations: 0 / 361.3 MB, free: 9.727 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002075/0.147, allocations: 12 kB / 361.3 MB, free: 9.715 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.0004672/0.1475, allocations: 0.6714 MB / 362 MB, free: 9.012 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001292/0.1476, allocations: 55.83 kB / 362.1 MB, free: 8.957 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.1476, allocations: 4 kB / 362.1 MB, free: 8.953 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.01e-07/0.1477, allocations: 0.5625 kB / 362.1 MB, free: 8.953 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.148, allocations: 56.02 kB / 362.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.1492, allocations: 1.387 MB / 363.5 MB, free: 7.383 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.1495, allocations: 0.6924 MB / 364.2 MB, free: 6.664 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.028e-05/0.1496, allocations: 8.656 kB / 364.2 MB, free: 6.652 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.415e-05/0.1496, allocations: 19.44 kB / 364.2 MB, free: 6.633 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1496, allocations: 0 / 364.2 MB, free: 6.633 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01198/0.1616, allocations: 1.706 MB / 365.9 MB, free: 5.07 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/0.1618, allocations: 218.9 kB / 366.1 MB, free: 4.816 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.07/2.232, allocations: 3.938 kB / 366.1 MB, free: 4.812 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches