Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_Synchronous.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|unitDelay1.y|xor.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|unitDelay1.y|xor.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.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.001529/0.001529, allocations: 103.2 kB / 16.31 MB, free: 6.391 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.001805/0.001805, allocations: 188.5 kB / 17.24 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.746/1.746, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07928/0.07928, allocations: 12.6 MB / 283.1 MB, free: 15.48 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 87.88 kB / 343.5 MB, free: 2.953 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3267, allocations: 49.38 MB / 392.9 MB, free: 49.2 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock): time 0.002743/0.3295, allocations: 0.8631 MB / 393.7 MB, free: 48.67 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003441/0.3299, allocations: 108.3 kB / 393.8 MB, free: 48.61 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.262e-05/0.33, allocations: 9.438 kB / 393.9 MB, free: 48.6 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.038e-05/0.3301, allocations: 5.109 kB / 393.9 MB, free: 48.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.3302, allocations: 11.83 kB / 393.9 MB, free: 48.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.3305, allocations: 39.5 kB / 393.9 MB, free: 48.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.3306, allocations: 36.64 kB / 393.9 MB, free: 48.55 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.3307, allocations: 26.81 kB / 394 MB, free: 48.54 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.616e-05/0.3308, allocations: 18.97 kB / 394 MB, free: 48.53 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.249e-05/0.3308, allocations: 19.58 kB / 394 MB, free: 48.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.3308, allocations: 7.062 kB / 394 MB, free: 48.51 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.47e-05/0.3309, allocations: 3.781 kB / 394 MB, free: 48.51 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.116e-05/0.3309, allocations: 16.2 kB / 394 MB, free: 48.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.514e-05/0.331, allocations: 25.02 kB / 394.1 MB, free: 48.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.3311, allocations: 49.28 kB / 394.1 MB, free: 48.46 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.3311, allocations: 0 / 394.1 MB, free: 48.46 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3311, allocations: 0 / 394.1 MB, free: 48.46 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3311, allocations: 1.312 kB / 394.1 MB, free: 48.46 MB / 318.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.0003659/0.3315, allocations: 366.8 kB / 394.5 MB, free: 48.08 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.3315, allocations: 9.578 kB / 394.5 MB, free: 48.08 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.3316, allocations: 12.06 kB / 394.5 MB, free: 48.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.3318, allocations: 194.8 kB / 394.7 MB, free: 47.86 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.3318, allocations: 3.156 kB / 394.7 MB, free: 47.86 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.3318, allocations: 7.25 kB / 394.7 MB, free: 47.85 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.3321, allocations: 128.2 kB / 394.8 MB, free: 47.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.3322, allocations: 192 / 394.8 MB, free: 47.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.3322, allocations: 9.062 kB / 394.8 MB, free: 47.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.3322, allocations: 1.688 kB / 394.8 MB, free: 47.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.748e-05/0.3322, allocations: 14.67 kB / 394.8 MB, free: 47.76 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.3324, allocations: 170.5 kB / 395 MB, free: 47.56 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.3326, allocations: 64.05 kB / 395.1 MB, free: 47.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.179e-05/0.3327, allocations: 39.7 kB / 395.1 MB, free: 47.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.3327, allocations: 4 kB / 395.1 MB, free: 47.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.3327, allocations: 36.78 kB / 395.1 MB, free: 47.46 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 9.81e-07/0.3327, allocations: 0 / 395.1 MB, free: 47.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002403/0.333, allocations: 95.33 kB / 395.2 MB, free: 47.39 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.333, allocations: 59.7 kB / 395.3 MB, free: 47.33 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.3332, allocations: 133.1 kB / 395.4 MB, free: 47.22 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.497e-06/0.3332, allocations: 29.7 kB / 395.5 MB, free: 47.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.501e-05/0.3332, allocations: 87.47 kB / 395.5 MB, free: 47.1 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.3332, allocations: 6.141 kB / 395.6 MB, free: 47.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.3333, allocations: 27.45 kB / 395.6 MB, free: 47.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.854e-05/0.3334, allocations: 318.1 kB / 395.9 MB, free: 46.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.26e-05/0.3334, allocations: 6.922 kB / 395.9 MB, free: 46.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.518e-05/0.3334, allocations: 66.28 kB / 396 MB, free: 46.68 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.883e-05/0.3335, allocations: 69.97 kB / 396 MB, free: 46.6 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3335, allocations: 1.062 kB / 396 MB, free: 46.6 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001249/0.3337, allocations: 84.78 kB / 396.1 MB, free: 46.55 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3337, allocations: 4.719 kB / 396.1 MB, free: 46.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.3337, allocations: 11.17 kB / 396.1 MB, free: 46.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.3337, allocations: 2.781 kB / 396.1 MB, free: 46.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.273e-05/0.3337, allocations: 7.641 kB / 396.1 MB, free: 46.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.3338, allocations: 7.688 kB / 396.1 MB, free: 46.53 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.784e-05/0.3338, allocations: 13.31 kB / 396.2 MB, free: 46.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.3338, allocations: 5 kB / 396.2 MB, free: 46.52 MB / 318.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,$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 8.708e-05/0.3339, allocations: 120.3 kB / 396.3 MB, free: 46.4 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.904e-05/0.334, allocations: 74.91 kB / 396.4 MB, free: 46.35 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.375e-05/0.3341, allocations: 16.17 kB / 396.4 MB, free: 46.34 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.3341, allocations: 0 / 396.4 MB, free: 46.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.3341, allocations: 0.5156 kB / 396.4 MB, free: 46.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3341, allocations: 4.516 kB / 396.4 MB, free: 46.34 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.3342, allocations: 174.4 kB / 396.5 MB, free: 46.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3342, allocations: 0 / 396.5 MB, free: 46.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.298e-06/0.3342, allocations: 0.7969 kB / 396.5 MB, free: 46.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.3342, allocations: 0 / 396.5 MB, free: 46.14 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.3343, allocations: 12.06 kB / 396.6 MB, free: 46.13 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3343, allocations: 0 / 396.6 MB, free: 46.13 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3343, allocations: 0 / 396.6 MB, free: 46.13 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.3344, allocations: 104.8 kB / 396.7 MB, free: 46.04 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.777e-05/0.3345, allocations: 97.16 kB / 396.8 MB, free: 45.94 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.3345, allocations: 8.344 kB / 396.8 MB, free: 45.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.825e-05/0.3346, allocations: 3.938 kB / 396.8 MB, free: 45.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-06/0.3346, allocations: 3.938 kB / 396.8 MB, free: 45.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.3346, allocations: 4.516 kB / 396.8 MB, free: 45.92 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.34e-05/0.3347, allocations: 103.3 kB / 396.9 MB, free: 45.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3347, allocations: 2.656 kB / 396.9 MB, free: 45.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.3349, allocations: 10.25 kB / 396.9 MB, free: 45.84 MB / 318.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 (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.0001197/0.335, allocations: 97.41 kB / 397 MB, free: 45.74 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001874/0.3352, allocations: 45.23 kB / 397 MB, free: 45.73 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3352, allocations: 0 / 397 MB, free: 45.73 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.3352, allocations: 0.9062 kB / 397 MB, free: 45.73 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.3357, allocations: 44.03 kB / 397.1 MB, free: 45.71 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004695/0.3362, allocations: 161.4 kB / 397.2 MB, free: 45.57 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.3365, allocations: 0.6996 MB / 397.9 MB, free: 44.87 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.703e-05/0.3366, allocations: 7.938 kB / 397.9 MB, free: 44.87 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.3366, allocations: 10.94 kB / 397.9 MB, free: 44.86 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3366, allocations: 0 / 397.9 MB, free: 44.86 MB / 318.1 MB Notification: Performance of Templates: time 0.003964/0.3406, allocations: 0.6164 MB / 398.6 MB, free: 44.64 MB / 318.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches