Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 107.6 kB / 16.51 MB, free: 6.707 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.001104/0.001104, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.553/1.553, allocations: 222.9 MB / 241.1 MB, free: 13.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 41.3 kB / 300.1 MB, free: 5.977 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1308, allocations: 49.45 MB / 349.5 MB, free: 4.52 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.003058/0.1339, allocations: 0.8977 MB / 350.4 MB, free: 3.617 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004114/0.1344, allocations: 123.6 kB / 350.5 MB, free: 3.496 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.1345, allocations: 3.938 kB / 350.5 MB, free: 3.492 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.1347, allocations: 3.984 kB / 350.5 MB, free: 3.488 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.1348, allocations: 11.94 kB / 350.6 MB, free: 3.477 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.1351, allocations: 35.91 kB / 350.6 MB, free: 3.441 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.1352, allocations: 39.86 kB / 350.6 MB, free: 3.402 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.1354, allocations: 23.94 kB / 350.6 MB, free: 3.379 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.687e-05/0.1354, allocations: 19.92 kB / 350.7 MB, free: 3.359 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.724e-05/0.1355, allocations: 23.84 kB / 350.7 MB, free: 3.336 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.1355, allocations: 4 kB / 350.7 MB, free: 3.332 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.567e-05/0.1355, allocations: 4 kB / 350.7 MB, free: 3.328 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.956e-05/0.1356, allocations: 11.98 kB / 350.7 MB, free: 3.316 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.331e-05/0.1357, allocations: 31.75 kB / 350.7 MB, free: 3.285 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.1358, allocations: 51.8 kB / 350.8 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1358, allocations: 0 / 350.8 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1358, allocations: 0 / 350.8 MB, free: 3.234 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.1358, allocations: 4 kB / 350.8 MB, free: 3.23 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.0005459/0.1364, allocations: 379.5 kB / 351.2 MB, free: 2.809 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.1365, allocations: 8.031 kB / 351.2 MB, free: 2.801 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.721e-05/0.1365, allocations: 38.67 kB / 351.2 MB, free: 2.754 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.1366, allocations: 20.75 kB / 351.2 MB, free: 2.734 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.1368, allocations: 180.2 kB / 351.4 MB, free: 2.52 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.1368, allocations: 12.36 kB / 351.4 MB, free: 2.508 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.1368, allocations: 4.375 kB / 351.4 MB, free: 2.504 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.1371, allocations: 155.5 kB / 351.6 MB, free: 2.34 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1371, allocations: 7.938 kB / 351.6 MB, free: 2.332 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.1371, allocations: 0 / 351.6 MB, free: 2.332 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.1372, allocations: 0 / 351.6 MB, free: 2.332 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.108e-05/0.1372, allocations: 19.98 kB / 351.6 MB, free: 2.312 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.1374, allocations: 169.7 kB / 351.8 MB, free: 2.098 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.1376, allocations: 86.62 kB / 351.9 MB, free: 2.004 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.378e-05/0.1376, allocations: 48.88 kB / 351.9 MB, free: 1.953 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.1377, allocations: 0 / 351.9 MB, free: 1.953 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.1377, allocations: 34.56 kB / 351.9 MB, free: 1.91 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.1377, allocations: 0 / 351.9 MB, free: 1.91 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002225/0.1379, allocations: 105.7 kB / 352 MB, free: 1.801 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.138, allocations: 59.34 kB / 352.1 MB, free: 1.73 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.1381, allocations: 144.2 kB / 352.2 MB, free: 1.582 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.1381, allocations: 25.7 kB / 352.3 MB, free: 1.551 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.857e-05/0.1382, allocations: 88.12 kB / 352.3 MB, free: 1.461 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.1382, allocations: 7.906 kB / 352.4 MB, free: 1.453 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/0.1383, allocations: 25.72 kB / 352.4 MB, free: 1.422 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000216/0.1385, allocations: 314.8 kB / 352.7 MB, free: 1.105 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.085e-05/0.1386, allocations: 16 kB / 352.7 MB, free: 1.09 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.568e-05/0.1386, allocations: 54.86 kB / 352.8 MB, free: 1.012 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.389e-05/0.1387, allocations: 78.73 kB / 352.8 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1387, allocations: 0 / 352.8 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001396/0.1389, allocations: 93.53 kB / 352.9 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1389, allocations: 11.94 kB / 352.9 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1389, allocations: 3.938 kB / 352.9 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.1389, allocations: 4 kB / 352.9 MB, free: 0.793 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.221e-05/0.139, allocations: 15.98 kB / 353 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.139, allocations: 4 kB / 353 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.76e-05/0.1391, allocations: 11.94 kB / 353 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.1391, allocations: 4 kB / 353 MB, free: 0.7578 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: 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.0001857/0.1393, allocations: 130.5 kB / 353.1 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.1394, allocations: 81.53 kB / 353.2 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.781e-05/0.1394, allocations: 12.72 kB / 353.2 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1394, allocations: 3.984 kB / 353.2 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1394, allocations: 0 / 353.2 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1395, allocations: 192 / 353.2 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.1396, allocations: 169.7 kB / 353.4 MB, free: 308 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1396, allocations: 3.938 kB / 353.4 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.395e-05/0.1397, allocations: 19.92 kB / 353.4 MB, free: 284 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.1397, allocations: 3.938 kB / 353.4 MB, free: 280 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.1397, allocations: 8 kB / 353.4 MB, free: 272 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.1397, allocations: 0 / 353.4 MB, free: 272 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1397, allocations: 4 kB / 353.4 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.1399, allocations: 109 kB / 353.5 MB, free: 140 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.818e-05/0.14, allocations: 96.84 kB / 353.6 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.14, allocations: 4 kB / 353.6 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.687e-05/0.14, allocations: 4 kB / 353.6 MB, free: 16 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-06/0.14, allocations: 0 / 353.6 MB, free: 16 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.14, allocations: 4 kB / 353.6 MB, free: 12 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.1401, allocations: 107.2 kB / 353.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1401, allocations: 0 / 353.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002064/0.1404, allocations: 12 kB / 353.7 MB, free: 15.89 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.0005313/0.1409, allocations: 0.687 MB / 354.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001274/0.141, allocations: 47.92 kB / 354.5 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.141, allocations: 0 / 354.5 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.198e-06/0.1411, allocations: 3.938 kB / 354.5 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.1414, allocations: 62.22 kB / 354.5 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.1426, allocations: 1.374 MB / 355.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.1429, allocations: 0.6965 MB / 356.6 MB, free: 12.85 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.542e-05/0.143, allocations: 8.672 kB / 356.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.367e-05/0.143, allocations: 23.42 kB / 356.6 MB, free: 12.81 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.143, allocations: 0 / 356.6 MB, free: 12.81 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02798/0.171, allocations: 1.638 MB / 358.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002815/0.1714, allocations: 216.3 kB / 358.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.984/2.156, allocations: 0 / 358.5 MB, free: 11.05 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches