Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002211/0.002211, allocations: 211.2 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 47.92 kB / 379 MB, free: 2.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2818, allocations: 53.37 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002387/0.2842, allocations: 0.8754 MB / 433.2 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003769/0.2845, allocations: 115.6 kB / 433.3 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.284e-05/0.2846, allocations: 7.938 kB / 433.3 MB, free: 5.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.416e-05/0.2847, allocations: 3.938 kB / 433.3 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.2848, allocations: 3.938 kB / 433.3 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.285, allocations: 31.91 kB / 433.4 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.2851, allocations: 47.89 kB / 433.4 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.2852, allocations: 16 kB / 433.4 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.977e-05/0.2853, allocations: 19.92 kB / 433.4 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.658e-05/0.2853, allocations: 19.86 kB / 433.5 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.2853, allocations: 4 kB / 433.5 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.282e-05/0.2853, allocations: 4 kB / 433.5 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.777e-05/0.2854, allocations: 15.92 kB / 433.5 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.2854, allocations: 15.88 kB / 433.5 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.2855, allocations: 59.53 kB / 433.6 MB, free: 5.508 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2855, allocations: 3.938 kB / 433.6 MB, free: 5.504 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2855, allocations: 0 / 433.6 MB, free: 5.504 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.2856, allocations: 4 kB / 433.6 MB, free: 5.5 MB / 334.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.0003985/0.286, allocations: 291.9 kB / 433.9 MB, free: 5.188 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.286, allocations: 12.03 kB / 433.9 MB, free: 5.176 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.286, allocations: 12.83 kB / 433.9 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.2863, allocations: 134.4 kB / 434 MB, free: 5.008 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.2863, allocations: 12.36 kB / 434 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.2863, allocations: 12.3 kB / 434 MB, free: 4.984 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002791/0.2866, allocations: 127.8 kB / 434.2 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.2866, allocations: 192 / 434.2 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.2866, allocations: 7.938 kB / 434.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.2866, allocations: 0 / 434.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.502e-05/0.2866, allocations: 19.98 kB / 434.2 MB, free: 4.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000129/0.2868, allocations: 109.3 kB / 434.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.2869, allocations: 62.66 kB / 434.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.092e-05/0.287, allocations: 32.89 kB / 434.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.287, allocations: 4 kB / 434.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.287, allocations: 34.56 kB / 434.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.913e-06/0.287, allocations: 0 / 434.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002116/0.2872, allocations: 93.52 kB / 434.5 MB, free: 4.434 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.2873, allocations: 55.41 kB / 434.6 MB, free: 4.367 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.2874, allocations: 137.2 kB / 434.7 MB, free: 4.227 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.2874, allocations: 25.7 kB / 434.7 MB, free: 4.195 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/0.2875, allocations: 88.12 kB / 434.8 MB, free: 4.105 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.2875, allocations: 7.938 kB / 434.8 MB, free: 4.098 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/0.2876, allocations: 29.72 kB / 434.8 MB, free: 4.062 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.2877, allocations: 318.8 kB / 435.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.351e-05/0.2877, allocations: 12 kB / 435.2 MB, free: 3.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.541e-05/0.2878, allocations: 66.8 kB / 435.2 MB, free: 3.641 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.208e-05/0.2879, allocations: 66.81 kB / 435.3 MB, free: 3.551 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2879, allocations: 0 / 435.3 MB, free: 3.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001395/0.288, allocations: 97.44 kB / 435.4 MB, free: 3.449 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.288, allocations: 8 kB / 435.4 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.288, allocations: 0 / 435.4 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.2881, allocations: 7.938 kB / 435.4 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.795e-05/0.2881, allocations: 0 / 435.4 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.2881, allocations: 7.938 kB / 435.4 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.302e-05/0.2881, allocations: 4 kB / 435.4 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.2881, allocations: 4 kB / 435.4 MB, free: 3.418 MB / 334.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 0.0001009/0.2882, allocations: 134 kB / 435.6 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.525e-05/0.2883, allocations: 73.77 kB / 435.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.233e-05/0.2883, allocations: 8.375 kB / 435.6 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.2884, allocations: 15.81 kB / 435.7 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.2884, allocations: 0 / 435.7 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2884, allocations: 0 / 435.7 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.406e-05/0.2884, allocations: 109.3 kB / 435.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2884, allocations: 0 / 435.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.265e-05/0.2885, allocations: 3.984 kB / 435.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.2885, allocations: 4 kB / 435.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.2885, allocations: 8 kB / 435.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2885, allocations: 0 / 435.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.2885, allocations: 3.938 kB / 435.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.2886, allocations: 93.08 kB / 435.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.103e-05/0.2886, allocations: 23.88 kB / 435.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.2887, allocations: 0 / 435.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.501e-05/0.2887, allocations: 0 / 435.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-06/0.2887, allocations: 3.938 kB / 435.9 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.2887, allocations: 4 kB / 435.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.824e-05/0.2887, allocations: 99.27 kB / 436 MB, free: 2.777 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2887, allocations: 0 / 436 MB, free: 2.777 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002033/0.289, allocations: 16 kB / 436 MB, free: 2.762 MB / 334.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.0001035/0.2891, allocations: 99.23 kB / 436.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.2892, allocations: 43.91 kB / 436.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2892, allocations: 0 / 436.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.2892, allocations: 0 / 436.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.2895, allocations: 54.39 kB / 436.2 MB, free: 2.566 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000302/0.2898, allocations: 158.3 kB / 436.4 MB, free: 2.383 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.841e-05/0.2899, allocations: 79.33 kB / 436.4 MB, free: 2.285 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.036e-05/0.2899, allocations: 11.95 kB / 436.5 MB, free: 2.273 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.2899, allocations: 11.44 kB / 436.5 MB, free: 2.262 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2899, allocations: 0 / 436.5 MB, free: 2.262 MB / 334.1 MB Notification: Performance of Templates: time 0.003135/0.293, allocations: 0.7121 MB / 437.2 MB, free: 1.562 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.306484337008442]