Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009586/0.0009588, allocations: 92.53 kB / 16.3 MB, free: 5.527 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.0008928/0.0008929, allocations: 184.5 kB / 17.2 MB, free: 5.461 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.488/1.488, allocations: 223.2 MB / 241.1 MB, free: 14.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003422, allocations: 11.94 kB / 300.7 MB, free: 6.227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1211, allocations: 50.41 MB / 351.2 MB, free: 3.805 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.001344/0.1225, allocations: 0.5665 MB / 351.7 MB, free: 3.234 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003892/0.1229, allocations: 115.6 kB / 351.8 MB, free: 3.121 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.123, allocations: 0 / 351.8 MB, free: 3.121 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.506e-05/0.1231, allocations: 3.938 kB / 351.8 MB, free: 3.117 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.1232, allocations: 8 kB / 351.8 MB, free: 3.109 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.1235, allocations: 35.91 kB / 351.9 MB, free: 3.074 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.513e-05/0.1236, allocations: 15.98 kB / 351.9 MB, free: 3.059 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.1237, allocations: 23.92 kB / 351.9 MB, free: 3.035 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.517e-05/0.1238, allocations: 15.92 kB / 351.9 MB, free: 3.02 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.482e-05/0.1239, allocations: 7.938 kB / 351.9 MB, free: 3.012 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.1239, allocations: 3.938 kB / 351.9 MB, free: 3.008 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.726e-05/0.1239, allocations: 0 / 351.9 MB, free: 3.008 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.605e-05/0.1239, allocations: 19.92 kB / 352 MB, free: 2.988 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.267e-05/0.124, allocations: 37.64 kB / 352 MB, free: 2.945 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.1241, allocations: 31.92 kB / 352 MB, free: 2.914 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1242, allocations: 0 / 352 MB, free: 2.914 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.626e-06/0.1242, allocations: 0 / 352 MB, free: 2.914 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1242, allocations: 0 / 352 MB, free: 2.914 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.0005387/0.1247, allocations: 360.3 kB / 352.4 MB, free: 2.516 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/0.1248, allocations: 8.031 kB / 352.4 MB, free: 2.508 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.057e-05/0.1249, allocations: 7.906 kB / 352.4 MB, free: 2.5 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.1252, allocations: 190.8 kB / 352.6 MB, free: 2.273 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.1252, allocations: 8 kB / 352.6 MB, free: 2.266 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.1253, allocations: 4 kB / 352.6 MB, free: 2.262 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003786/0.1257, allocations: 123.2 kB / 352.7 MB, free: 2.129 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.1257, allocations: 3.953 kB / 352.7 MB, free: 2.125 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.1257, allocations: 4 kB / 352.7 MB, free: 2.121 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.1257, allocations: 0 / 352.7 MB, free: 2.121 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.198e-05/0.1258, allocations: 27.92 kB / 352.8 MB, free: 2.094 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002112/0.126, allocations: 173.5 kB / 352.9 MB, free: 1.875 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.1262, allocations: 62.72 kB / 353 MB, free: 1.805 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.1262, allocations: 0 / 353 MB, free: 1.805 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.1263, allocations: 30.72 kB / 353 MB, free: 1.766 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.1263, allocations: 4 kB / 353 MB, free: 1.762 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002658/0.1266, allocations: 93.59 kB / 353.1 MB, free: 1.664 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.1266, allocations: 63.31 kB / 353.2 MB, free: 1.59 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.1268, allocations: 129.8 kB / 353.3 MB, free: 1.453 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.1268, allocations: 25.7 kB / 353.3 MB, free: 1.422 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.35e-05/0.1268, allocations: 84.14 kB / 353.4 MB, free: 1.336 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.1269, allocations: 7.984 kB / 353.4 MB, free: 1.328 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-06/0.1269, allocations: 0 / 353.4 MB, free: 1.328 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.127, allocations: 318.8 kB / 353.7 MB, free: 1.008 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.036e-05/0.127, allocations: 8 kB / 353.7 MB, free: 1 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.948e-05/0.1271, allocations: 62.8 kB / 353.8 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.573e-05/0.1271, allocations: 16 kB / 353.8 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1271, allocations: 0 / 353.8 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001428/0.1273, allocations: 93.39 kB / 353.9 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.1273, allocations: 8 kB / 353.9 MB, free: 0.793 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1273, allocations: 256 / 353.9 MB, free: 0.793 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.1274, allocations: 8 kB / 353.9 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.395e-05/0.1274, allocations: 4 kB / 353.9 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.1274, allocations: 3.953 kB / 353.9 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.002e-05/0.1274, allocations: 7.938 kB / 353.9 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.1275, allocations: 7.938 kB / 353.9 MB, free: 0.7617 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 (integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay1.y,unitDelay1.u,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.1276, allocations: 133.8 kB / 354.1 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.051e-05/0.1277, allocations: 65.59 kB / 354.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.79e-05/0.1277, allocations: 12.38 kB / 354.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1277, allocations: 8 kB / 354.2 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1277, allocations: 0 / 354.2 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.1277, allocations: 3.953 kB / 354.2 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.1279, allocations: 161.7 kB / 354.3 MB, free: 324 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.1279, allocations: 3.984 kB / 354.3 MB, free: 320 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.951e-05/0.1279, allocations: 11.94 kB / 354.3 MB, free: 308 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1279, allocations: 0 / 354.3 MB, free: 308 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.1279, allocations: 192 / 354.3 MB, free: 308 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1279, allocations: 4 kB / 354.3 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1279, allocations: 3.938 kB / 354.3 MB, free: 300 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.1281, allocations: 105 kB / 354.4 MB, free: 176 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-05/0.1282, allocations: 93 kB / 354.5 MB, free: 64 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.1282, allocations: 0 / 354.5 MB, free: 64 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.155e-05/0.1282, allocations: 8 kB / 354.5 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.376e-06/0.1282, allocations: 0 / 354.5 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.1282, allocations: 0 / 354.5 MB, free: 56 kB / 286.1 MB Notification: Performance of sorting global known variables: time 9.871e-05/0.1283, allocations: 110.6 kB / 354.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1283, allocations: 0 / 354.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002086/0.1286, allocations: 8 kB / 354.7 MB, free: 15.94 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001334/0.1287, allocations: 107.2 kB / 354.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001394/0.1288, allocations: 39.92 kB / 354.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1288, allocations: 0 / 354.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.1289, allocations: 0 / 354.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.1292, allocations: 47.91 kB / 354.8 MB, free: 15.74 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/0.1296, allocations: 179.9 kB / 355 MB, free: 15.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.1299, allocations: 0.6965 MB / 355.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.76e-05/0.13, allocations: 0 / 355.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.13, allocations: 11.44 kB / 355.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.13, allocations: 4 kB / 355.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of Templates: time 0.003143/0.1332, allocations: 0.5406 MB / 356.3 MB, free: 14.27 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches