Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_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.001468/0.001475, allocations: 115.8 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001908/0.001908, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.585/1.585, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001332, allocations: 67.39 kB / 306.6 MB, free: 0.832 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1264, allocations: 50.53 MB / 357.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.003491/0.13, allocations: 0.9174 MB / 358 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004337/0.1304, allocations: 111.5 kB / 358.1 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.1306, allocations: 0 / 358.1 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.146e-05/0.1307, allocations: 0 / 358.1 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.1308, allocations: 11.92 kB / 358.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.1312, allocations: 31.97 kB / 358.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.1313, allocations: 39.92 kB / 358.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.1315, allocations: 27.97 kB / 358.2 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.942e-05/0.1316, allocations: 19.86 kB / 358.2 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.046e-05/0.1316, allocations: 15.92 kB / 358.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.1316, allocations: 4 kB / 358.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.521e-05/0.1317, allocations: 7.938 kB / 358.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.963e-05/0.1317, allocations: 19.92 kB / 358.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.161e-05/0.1318, allocations: 23.81 kB / 358.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.1319, allocations: 47.8 kB / 358.4 MB, free: 13.03 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.132, allocations: 0 / 358.4 MB, free: 13.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.132, allocations: 4 kB / 358.4 MB, free: 13.03 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.132, allocations: 0 / 358.4 MB, free: 13.03 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.0006161/0.1326, allocations: 371.5 kB / 358.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.933e-05/0.1327, allocations: 11.97 kB / 358.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.412e-05/0.1328, allocations: 42.73 kB / 358.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.1328, allocations: 8.844 kB / 358.8 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.1331, allocations: 186.8 kB / 359 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.1331, allocations: 8.375 kB / 359 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.1331, allocations: 8.312 kB / 359 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003571/0.1335, allocations: 127.9 kB / 359.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1335, allocations: 3.938 kB / 359.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1335, allocations: 0 / 359.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1336, allocations: 0 / 359.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.127e-05/0.1336, allocations: 20 kB / 359.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002103/0.1338, allocations: 173.6 kB / 359.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.134, allocations: 78.62 kB / 359.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.453e-05/0.1341, allocations: 32.89 kB / 359.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.1341, allocations: 7.984 kB / 359.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.1341, allocations: 38.5 kB / 359.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.1341, allocations: 0 / 359.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002583/0.1344, allocations: 89.47 kB / 359.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.1345, allocations: 59.41 kB / 359.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.1347, allocations: 129.8 kB / 359.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.1347, allocations: 25.7 kB / 359.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.198e-05/0.1348, allocations: 92.12 kB / 359.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.1348, allocations: 3.906 kB / 359.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/0.1349, allocations: 25.72 kB / 359.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.135, allocations: 318.8 kB / 360.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.548e-05/0.1351, allocations: 16 kB / 360.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/0.1351, allocations: 58.8 kB / 360.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.1352, allocations: 70.81 kB / 360.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1352, allocations: 0 / 360.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001507/0.1354, allocations: 93.52 kB / 360.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.1354, allocations: 7.938 kB / 360.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.1354, allocations: 4 kB / 360.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.1355, allocations: 0 / 360.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.231e-05/0.1355, allocations: 4 kB / 360.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.1355, allocations: 7.938 kB / 360.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.473e-05/0.1356, allocations: 3.906 kB / 360.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.1356, allocations: 8 kB / 360.5 MB, free: 10.65 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 (integerConstant.y,xor.y,xor.u2,xor.u1,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.0002086/0.1358, allocations: 130 kB / 360.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.1359, allocations: 89.45 kB / 360.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.368e-05/0.136, allocations: 8.375 kB / 360.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.136, allocations: 0 / 360.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.136, allocations: 0 / 360.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.136, allocations: 4 kB / 360.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.1362, allocations: 169.6 kB / 360.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1362, allocations: 0 / 360.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.28e-05/0.1362, allocations: 0 / 360.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1362, allocations: 3.938 kB / 360.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.1362, allocations: 8 kB / 360.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1362, allocations: 0 / 360.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1362, allocations: 0 / 360.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.1364, allocations: 97.03 kB / 361 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.706e-05/0.1365, allocations: 100.8 kB / 361.1 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.1365, allocations: 7.938 kB / 361.1 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.755e-05/0.1365, allocations: 0 / 361.1 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.354e-06/0.1366, allocations: 0 / 361.1 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.1366, allocations: 8 kB / 361.1 MB, free: 9.934 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.791e-05/0.1367, allocations: 105.8 kB / 361.2 MB, free: 9.832 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1367, allocations: 0 / 361.2 MB, free: 9.832 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002147/0.1369, allocations: 8 kB / 361.2 MB, free: 9.824 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,xor.u1,xor.u2,xor.y,integerConstant.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.0006613/0.1375, allocations: 0.6633 MB / 361.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.1378, allocations: 55.84 kB / 361.9 MB, free: 9.074 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.1378, allocations: 0 / 361.9 MB, free: 9.074 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.345e-06/0.1378, allocations: 0 / 361.9 MB, free: 9.074 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005726/0.1384, allocations: 40 kB / 361.9 MB, free: 9.039 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.14, allocations: 1.34 MB / 363.3 MB, free: 7.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.1404, allocations: 0.7012 MB / 364 MB, free: 6.844 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.215e-05/0.1404, allocations: 7.953 kB / 364 MB, free: 6.836 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.945e-05/0.1405, allocations: 19.42 kB / 364 MB, free: 6.82 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1405, allocations: 4 kB / 364 MB, free: 6.816 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01564/0.1561, allocations: 1.584 MB / 365.6 MB, free: 5.367 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003623/0.1566, allocations: 215.9 kB / 365.8 MB, free: 5.113 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.198/2.355, allocations: 0 / 365.8 MB, free: 5.113 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches