Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 106.9 kB / 16.92 MB, free: 5.781 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.001078/0.001078, allocations: 191.3 kB / 17.85 MB, free: 5.195 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.486/1.486, allocations: 222.9 MB / 241.6 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 45.41 kB / 300.7 MB, free: 5.789 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1246, allocations: 49.44 MB / 350.2 MB, free: 4.34 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.003295/0.128, allocations: 0.9436 MB / 351.1 MB, free: 3.387 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004074/0.1284, allocations: 115.5 kB / 351.2 MB, free: 3.273 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.1285, allocations: 4 kB / 351.2 MB, free: 3.27 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.268e-05/0.1286, allocations: 7.922 kB / 351.2 MB, free: 3.262 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.1287, allocations: 11.88 kB / 351.2 MB, free: 3.25 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.129, allocations: 39.89 kB / 351.3 MB, free: 3.211 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.1291, allocations: 39.86 kB / 351.3 MB, free: 3.172 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.1293, allocations: 24.17 kB / 351.3 MB, free: 3.145 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.943e-05/0.1293, allocations: 15.94 kB / 351.4 MB, free: 3.129 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.622e-05/0.1294, allocations: 19.86 kB / 351.4 MB, free: 3.109 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.1294, allocations: 0 / 351.4 MB, free: 3.109 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.578e-05/0.1295, allocations: 4 kB / 351.4 MB, free: 3.105 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.679e-05/0.1295, allocations: 19.91 kB / 351.4 MB, free: 3.086 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.85e-05/0.1296, allocations: 27.81 kB / 351.4 MB, free: 3.059 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.1298, allocations: 51.81 kB / 351.5 MB, free: 3.008 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1298, allocations: 0 / 351.5 MB, free: 3.008 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1298, allocations: 0 / 351.5 MB, free: 3.008 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1298, allocations: 4 kB / 351.5 MB, free: 3.004 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.0006186/0.1304, allocations: 375.4 kB / 351.9 MB, free: 2.59 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.1305, allocations: 12.03 kB / 351.9 MB, free: 2.578 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.179e-05/0.1305, allocations: 34.75 kB / 351.9 MB, free: 2.535 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/0.1306, allocations: 12.83 kB / 351.9 MB, free: 2.523 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.1309, allocations: 195.2 kB / 352.1 MB, free: 2.297 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.1309, allocations: 384 / 352.1 MB, free: 2.297 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.1309, allocations: 8.375 kB / 352.1 MB, free: 2.289 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003435/0.1313, allocations: 131.6 kB / 352.2 MB, free: 2.148 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.1313, allocations: 0 / 352.2 MB, free: 2.148 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.1313, allocations: 0 / 352.2 MB, free: 2.148 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.1313, allocations: 11.92 kB / 352.3 MB, free: 2.137 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.91e-05/0.1314, allocations: 15.94 kB / 352.3 MB, free: 2.121 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002135/0.1316, allocations: 173.5 kB / 352.4 MB, free: 1.902 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.1318, allocations: 74.75 kB / 352.5 MB, free: 1.82 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.626e-05/0.1319, allocations: 40.84 kB / 352.6 MB, free: 1.777 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.1319, allocations: 3.984 kB / 352.6 MB, free: 1.773 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.1319, allocations: 34.5 kB / 352.6 MB, free: 1.73 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.1319, allocations: 0 / 352.6 MB, free: 1.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002178/0.1321, allocations: 93.67 kB / 352.7 MB, free: 1.633 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/0.1322, allocations: 59.41 kB / 352.7 MB, free: 1.562 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.1323, allocations: 133.7 kB / 352.9 MB, free: 1.422 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.1324, allocations: 29.7 kB / 352.9 MB, free: 1.387 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.869e-05/0.1325, allocations: 92.08 kB / 353 MB, free: 1.293 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.1325, allocations: 3.984 kB / 353 MB, free: 1.289 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-05/0.1325, allocations: 21.72 kB / 353 MB, free: 1.262 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.1327, allocations: 318.8 kB / 353.3 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.47e-05/0.1327, allocations: 12 kB / 353.3 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.106e-05/0.1328, allocations: 62.8 kB / 353.4 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.1329, allocations: 70.81 kB / 353.5 MB, free: 0.75 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.1329, allocations: 7.938 kB / 353.5 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001408/0.1331, allocations: 89.59 kB / 353.6 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1331, allocations: 7.984 kB / 353.6 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1331, allocations: 4 kB / 353.6 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1331, allocations: 0 / 353.6 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.979e-05/0.1332, allocations: 23.94 kB / 353.6 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1332, allocations: 0 / 353.6 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.694e-05/0.1333, allocations: 4 kB / 353.6 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.1333, allocations: 4 kB / 353.6 MB, free: 0.6055 MB / 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: 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.0001083/0.1334, allocations: 117.8 kB / 353.7 MB, free: 492 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.752e-05/0.1335, allocations: 85.53 kB / 353.8 MB, free: 400 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.875e-05/0.1336, allocations: 12.72 kB / 353.8 MB, free: 384 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1336, allocations: 4 kB / 353.8 MB, free: 380 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1336, allocations: 0 / 353.8 MB, free: 380 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1336, allocations: 0 / 353.8 MB, free: 380 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.1337, allocations: 177.5 kB / 354 MB, free: 152 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1337, allocations: 0 / 354 MB, free: 152 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.556e-05/0.1338, allocations: 19.88 kB / 354 MB, free: 132 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.1338, allocations: 0 / 354 MB, free: 132 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.1338, allocations: 0 / 354 MB, free: 132 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1338, allocations: 4 kB / 354 MB, free: 128 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1338, allocations: 4 kB / 354 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.134, allocations: 105 kB / 354.1 MB, free: 0 / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.126e-05/0.1341, allocations: 92.94 kB / 354.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.1341, allocations: 7.984 kB / 354.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.072e-05/0.1342, allocations: 4 kB / 354.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.835e-06/0.1342, allocations: 0 / 354.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.1342, allocations: 0 / 354.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.212e-05/0.1343, allocations: 110.1 kB / 354.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1343, allocations: 192 / 354.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002095/0.1345, allocations: 12 kB / 354.3 MB, free: 15.76 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.0005625/0.135, allocations: 0.6664 MB / 355 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.1352, allocations: 52.3 kB / 355.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1352, allocations: 0 / 355.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.41e-07/0.1352, allocations: 0 / 355.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.1356, allocations: 44.73 kB / 355.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.137, allocations: 1.329 MB / 356.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.1373, allocations: 0.7002 MB / 357.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.64e-05/0.1374, allocations: 0 / 357.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.1e-05/0.1374, allocations: 23.42 kB / 357.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1374, allocations: 0 / 357.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/0.159, allocations: 1.7 MB / 358.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.906/8.065, allocations: 14.91 kB / 358.9 MB, free: 11.15 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches