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.001761/0.001761, allocations: 116.1 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002262/0.002262, allocations: 201.8 kB / 18.27 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 227.4 MB / 246.4 MB, free: 10.81 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001895, allocations: 63.41 kB / 306.6 MB, free: 0.8633 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1294, allocations: 50.53 MB / 357.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002761/0.1322, allocations: 1.009 MB / 358.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000436/0.1327, allocations: 123.6 kB / 358.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.1328, allocations: 0 / 358.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.436e-05/0.1329, allocations: 3.938 kB / 358.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.1331, allocations: 4 kB / 358.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003776/0.1335, allocations: 39.91 kB / 358.3 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.1336, allocations: 39.86 kB / 358.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.1338, allocations: 24.16 kB / 358.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.862e-05/0.1338, allocations: 15.92 kB / 358.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.32e-05/0.1339, allocations: 27.84 kB / 358.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.1339, allocations: 4 kB / 358.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.338e-05/0.1339, allocations: 4 kB / 358.4 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.641e-05/0.134, allocations: 11.94 kB / 358.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.476e-05/0.1341, allocations: 31.8 kB / 358.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.1342, allocations: 47.81 kB / 358.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1342, allocations: 4 kB / 358.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.449e-06/0.1342, allocations: 0 / 358.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.1342, allocations: 7.922 kB / 358.5 MB, free: 12.93 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.0005839/0.1348, allocations: 375.4 kB / 358.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.1349, allocations: 12.03 kB / 358.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.449e-05/0.1349, allocations: 34.75 kB / 358.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.135, allocations: 12.75 kB / 358.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.1353, allocations: 184.3 kB / 359.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1353, allocations: 4.375 kB / 359.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.1353, allocations: 8.375 kB / 359.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.1356, allocations: 131.5 kB / 359.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1357, allocations: 0 / 359.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.1357, allocations: 3.984 kB / 359.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.1357, allocations: 4 kB / 359.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.351e-05/0.1357, allocations: 19.98 kB / 359.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002319/0.136, allocations: 177.5 kB / 359.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.1362, allocations: 66.66 kB / 359.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.444e-05/0.1362, allocations: 40.83 kB / 359.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.1363, allocations: 0 / 359.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.1363, allocations: 34.5 kB / 359.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.1363, allocations: 4 kB / 359.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002201/0.1365, allocations: 89.73 kB / 359.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.321e-05/0.1366, allocations: 59.41 kB / 359.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.1367, allocations: 140.7 kB / 359.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.1368, allocations: 25.7 kB / 359.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.525e-05/0.1368, allocations: 88.14 kB / 360 MB, free: 11.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.1369, allocations: 0 / 360 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.026e-05/0.1369, allocations: 29.7 kB / 360 MB, free: 11.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.137, allocations: 318.8 kB / 360.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.188e-05/0.1371, allocations: 11.98 kB / 360.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.322e-05/0.1371, allocations: 50.88 kB / 360.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.693e-05/0.1372, allocations: 74.73 kB / 360.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1372, allocations: 4 kB / 360.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001489/0.1374, allocations: 97.34 kB / 360.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1374, allocations: 4 kB / 360.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.1374, allocations: 8 kB / 360.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1375, allocations: 0 / 360.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.9e-05/0.1375, allocations: 19.98 kB / 360.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1376, allocations: 0 / 360.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.977e-05/0.1376, allocations: 7.906 kB / 360.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1376, allocations: 8 kB / 360.6 MB, free: 10.54 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 0.0001007/0.1377, allocations: 127.1 kB / 360.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.918e-05/0.1378, allocations: 77.53 kB / 360.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.359e-05/0.1379, allocations: 8.719 kB / 360.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1379, allocations: 4 kB / 360.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.1379, allocations: 3.984 kB / 360.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1379, allocations: 3.938 kB / 360.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.138, allocations: 169.6 kB / 361 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1381, allocations: 0 / 361 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.551e-05/0.1381, allocations: 23.86 kB / 361 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1381, allocations: 4 kB / 361 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.1382, allocations: 4 kB / 361 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1382, allocations: 4 kB / 361 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1382, allocations: 192 / 361 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.1383, allocations: 97.02 kB / 361.1 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.216e-05/0.1384, allocations: 100.9 kB / 361.2 MB, free: 9.828 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.1384, allocations: 0 / 361.2 MB, free: 9.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.716e-05/0.1384, allocations: 8 kB / 361.2 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-06/0.1384, allocations: 4 kB / 361.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.1385, allocations: 0 / 361.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.935e-05/0.1385, allocations: 107.2 kB / 361.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1385, allocations: 0 / 361.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002036/0.1388, allocations: 8 kB / 361.3 MB, free: 9.703 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.0005908/0.1393, allocations: 0.6636 MB / 362 MB, free: 9.008 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001381/0.1395, allocations: 51.86 kB / 362 MB, free: 8.957 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1395, allocations: 0 / 362 MB, free: 8.957 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.12e-07/0.1395, allocations: 0 / 362 MB, free: 8.957 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.1399, allocations: 42.89 kB / 362.1 MB, free: 8.918 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.1413, allocations: 1.367 MB / 363.4 MB, free: 7.422 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.1416, allocations: 0.6924 MB / 364.1 MB, free: 6.703 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.467e-05/0.1417, allocations: 11.94 kB / 364.1 MB, free: 6.691 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.562e-05/0.1417, allocations: 15.44 kB / 364.2 MB, free: 6.68 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1417, allocations: 0 / 364.2 MB, free: 6.68 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01306/0.1548, allocations: 1.62 MB / 365.8 MB, free: 5.195 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002106/0.155, allocations: 218.6 kB / 366 MB, free: 4.938 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.061/2.216, allocations: 0 / 366 MB, free: 4.938 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