Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001294/0.001294, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00164/0.00164, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 63.89 kB / 306.4 MB, free: 0.9414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1219, allocations: 50.53 MB / 356.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002716/0.1247, allocations: 1.009 MB / 357.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003816/0.1251, allocations: 103.7 kB / 358 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.1252, allocations: 7.938 kB / 358 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.363e-05/0.1253, allocations: 7.922 kB / 358 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.1255, allocations: 7.938 kB / 358 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.1257, allocations: 39.91 kB / 358.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.1259, allocations: 35.92 kB / 358.1 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.126, allocations: 28.16 kB / 358.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.767e-05/0.1261, allocations: 15.86 kB / 358.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.918e-05/0.1261, allocations: 15.92 kB / 358.2 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.1261, allocations: 4 kB / 358.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.391e-05/0.1262, allocations: 4 kB / 358.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.1262, allocations: 15.92 kB / 358.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.413e-05/0.1263, allocations: 27.8 kB / 358.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.1264, allocations: 51.75 kB / 358.3 MB, free: 13.03 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1264, allocations: 0 / 358.3 MB, free: 13.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.1264, allocations: 0 / 358.3 MB, free: 13.03 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.1264, allocations: 4 kB / 358.3 MB, free: 13.02 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.0004779/0.1269, allocations: 377.7 kB / 358.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.127, allocations: 12.03 kB / 358.6 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.075e-05/0.127, allocations: 34.75 kB / 358.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.127, allocations: 12.75 kB / 358.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.1273, allocations: 188.2 kB / 358.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.1273, allocations: 4.359 kB / 358.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.1273, allocations: 4.375 kB / 358.9 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.1276, allocations: 135.6 kB / 359 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.1276, allocations: 0 / 359 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.1276, allocations: 4 kB / 359 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1276, allocations: 4 kB / 359 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.154e-05/0.1277, allocations: 15.94 kB / 359 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.1278, allocations: 177.5 kB / 359.2 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.128, allocations: 66.72 kB / 359.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.285e-05/0.128, allocations: 36.89 kB / 359.3 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.1281, allocations: 0 / 359.3 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.1281, allocations: 38.44 kB / 359.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 8.71e-07/0.1281, allocations: 0 / 359.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002152/0.1283, allocations: 93.73 kB / 359.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.1284, allocations: 59.41 kB / 359.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.1285, allocations: 136.6 kB / 359.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.1285, allocations: 25.7 kB / 359.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.915e-05/0.1286, allocations: 88.14 kB / 359.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.1286, allocations: 4 kB / 359.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.1287, allocations: 25.7 kB / 359.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1288, allocations: 314.8 kB / 360.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.1288, allocations: 12 kB / 360.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.874e-05/0.1288, allocations: 62.73 kB / 360.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.371e-05/0.1289, allocations: 70.75 kB / 360.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1289, allocations: 4 kB / 360.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001245/0.1291, allocations: 97.48 kB / 360.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.1291, allocations: 4 kB / 360.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.1291, allocations: 7.938 kB / 360.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1291, allocations: 0 / 360.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.751e-05/0.1292, allocations: 27.91 kB / 360.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.1292, allocations: 0 / 360.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.957e-05/0.1293, allocations: 11.91 kB / 360.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.1293, allocations: 4 kB / 360.4 MB, free: 10.63 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: 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 9.614e-05/0.1294, allocations: 123 kB / 360.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.1295, allocations: 81.78 kB / 360.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.549e-05/0.1295, allocations: 8.719 kB / 360.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1295, allocations: 4 kB / 360.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1295, allocations: 0 / 360.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1296, allocations: 3.984 kB / 360.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.747e-05/0.1297, allocations: 169.6 kB / 360.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1297, allocations: 4 kB / 360.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.066e-05/0.1297, allocations: 19.92 kB / 360.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1297, allocations: 0 / 360.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.1298, allocations: 4 kB / 360.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1298, allocations: 8 kB / 360.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1298, allocations: 0 / 360.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.1299, allocations: 105 kB / 360.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.002e-05/0.13, allocations: 96.94 kB / 361 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.13, allocations: 0 / 361 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.91e-05/0.13, allocations: 4 kB / 361 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-06/0.13, allocations: 4 kB / 361 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.13, allocations: 0 / 361 MB, free: 9.906 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.246e-05/0.1301, allocations: 111.2 kB / 361.1 MB, free: 9.797 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1301, allocations: 0 / 361.1 MB, free: 9.797 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001994/0.1303, allocations: 8 kB / 361.1 MB, free: 9.789 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.000468/0.1308, allocations: 0.6667 MB / 361.8 MB, free: 9.094 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.407e-05/0.1309, allocations: 43.92 kB / 361.8 MB, free: 9.051 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.1309, allocations: 4 kB / 361.8 MB, free: 9.047 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.1309, allocations: 0 / 361.8 MB, free: 9.047 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.1313, allocations: 43.94 kB / 361.9 MB, free: 9.004 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.1325, allocations: 1.353 MB / 363.2 MB, free: 7.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.1328, allocations: 0.6965 MB / 363.9 MB, free: 6.797 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.547e-05/0.1328, allocations: 11.94 kB / 363.9 MB, free: 6.785 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.33e-05/0.1329, allocations: 15.44 kB / 363.9 MB, free: 6.773 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1329, allocations: 4 kB / 363.9 MB, free: 6.77 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01212/0.145, allocations: 1.556 MB / 365.5 MB, free: 5.328 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/0.1452, allocations: 218.5 kB / 365.7 MB, free: 5.07 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/2.065, allocations: 0 / 365.7 MB, free: 5.07 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches