Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_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_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001594/0.001594, allocations: 200 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 226.5 MB / 244.7 MB, free: 8.172 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001124/0.001124, allocations: 92.34 kB / 296.8 MB, free: 6.898 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002816/0.0002818, allocations: 4 kB / 356.7 MB, free: 10.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2976, allocations: 51.3 MB / 408 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.001268/0.2989, allocations: 0.5625 MB / 408.6 MB, free: 27.15 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003474/0.2993, allocations: 112.8 kB / 408.7 MB, free: 27.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.2994, allocations: 0 / 408.7 MB, free: 27.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.628e-05/0.2995, allocations: 3.938 kB / 408.7 MB, free: 27.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.2996, allocations: 5.219 kB / 408.7 MB, free: 27.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.3, allocations: 38.31 kB / 408.8 MB, free: 27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.3001, allocations: 35.91 kB / 408.8 MB, free: 26.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.3002, allocations: 15.22 kB / 408.8 MB, free: 26.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.251e-05/0.3002, allocations: 15.92 kB / 408.8 MB, free: 26.94 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.28e-05/0.3003, allocations: 15.86 kB / 408.8 MB, free: 26.92 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.3003, allocations: 7.938 kB / 408.9 MB, free: 26.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.174e-05/0.3003, allocations: 0 / 408.9 MB, free: 26.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.114e-05/0.3004, allocations: 15.92 kB / 408.9 MB, free: 26.9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.057e-05/0.3004, allocations: 42.64 kB / 408.9 MB, free: 26.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.621e-05/0.3005, allocations: 35.92 kB / 408.9 MB, free: 26.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.3005, allocations: 4 kB / 409 MB, free: 26.81 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3005, allocations: 1.5 kB / 409 MB, free: 26.81 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.3005, allocations: 0 / 409 MB, free: 26.81 MB / 298.7 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.0003549/0.3009, allocations: 356.3 kB / 409.3 MB, free: 26.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3009, allocations: 9.438 kB / 409.3 MB, free: 26.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.301, allocations: 12.83 kB / 409.3 MB, free: 26.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.3012, allocations: 196.1 kB / 409.5 MB, free: 26.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.3012, allocations: 3.875 kB / 409.5 MB, free: 26.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.3012, allocations: 8.375 kB / 409.5 MB, free: 26.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.3015, allocations: 123.9 kB / 409.6 MB, free: 26.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.3015, allocations: 192 / 409.6 MB, free: 26.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.3015, allocations: 3.938 kB / 409.7 MB, free: 26.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.3015, allocations: 8 kB / 409.7 MB, free: 26.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.217e-05/0.3016, allocations: 15.94 kB / 409.7 MB, free: 26 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.3017, allocations: 165.7 kB / 409.8 MB, free: 25.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.3018, allocations: 66.75 kB / 409.9 MB, free: 25.71 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.48e-05/0.3019, allocations: 36.84 kB / 409.9 MB, free: 25.67 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.3019, allocations: 4 kB / 409.9 MB, free: 25.67 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.3019, allocations: 42.44 kB / 410 MB, free: 25.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 8.82e-07/0.302, allocations: 0 / 410 MB, free: 25.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001883/0.3021, allocations: 89.52 kB / 410.1 MB, free: 25.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.3022, allocations: 55.41 kB / 410.1 MB, free: 25.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.702e-05/0.3023, allocations: 133.8 kB / 410.3 MB, free: 25.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.3023, allocations: 29.7 kB / 410.3 MB, free: 25.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.869e-05/0.3024, allocations: 80.14 kB / 410.4 MB, free: 25.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.3024, allocations: 15.89 kB / 410.4 MB, free: 25.19 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-06/0.3024, allocations: 4 kB / 410.4 MB, free: 25.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.974e-05/0.3025, allocations: 314.8 kB / 410.7 MB, free: 24.87 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.781e-05/0.3025, allocations: 7.984 kB / 410.7 MB, free: 24.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.384e-05/0.3025, allocations: 58.81 kB / 410.8 MB, free: 24.78 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.102e-05/0.3026, allocations: 74.73 kB / 410.8 MB, free: 24.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.3026, allocations: 4.188 kB / 410.8 MB, free: 24.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.536e-05/0.3027, allocations: 81.56 kB / 410.9 MB, free: 24.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3027, allocations: 11.94 kB / 410.9 MB, free: 24.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.3027, allocations: 3.938 kB / 410.9 MB, free: 24.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3028, allocations: 4 kB / 410.9 MB, free: 24.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.214e-05/0.3028, allocations: 11.92 kB / 410.9 MB, free: 24.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.3028, allocations: 0 / 410.9 MB, free: 24.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.465e-05/0.3029, allocations: 16.16 kB / 411 MB, free: 24.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.3029, allocations: 4 kB / 411 MB, free: 24.54 MB / 298.7 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 7.134e-05/0.303, allocations: 125.7 kB / 411.1 MB, free: 24.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.94e-05/0.303, allocations: 65.69 kB / 411.1 MB, free: 24.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.3031, allocations: 12.31 kB / 411.2 MB, free: 24.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3031, allocations: 4 kB / 411.2 MB, free: 24.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3031, allocations: 0 / 411.2 MB, free: 24.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3031, allocations: 7.969 kB / 411.2 MB, free: 24.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.668e-05/0.3032, allocations: 169.6 kB / 411.3 MB, free: 24.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3032, allocations: 4 kB / 411.3 MB, free: 24.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.013e-05/0.3032, allocations: 4 kB / 411.3 MB, free: 24.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3032, allocations: 0 / 411.3 MB, free: 24.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.3032, allocations: 3.938 kB / 411.3 MB, free: 24.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3032, allocations: 0 / 411.3 MB, free: 24.08 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3032, allocations: 4 kB / 411.4 MB, free: 24.08 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.913e-05/0.3033, allocations: 108.9 kB / 411.5 MB, free: 23.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.3034, allocations: 96.94 kB / 411.6 MB, free: 23.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.3034, allocations: 7.938 kB / 411.6 MB, free: 23.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.54e-05/0.3034, allocations: 0 / 411.6 MB, free: 23.83 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-06/0.3034, allocations: 4 kB / 411.6 MB, free: 23.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.3034, allocations: 0 / 411.6 MB, free: 23.83 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.645e-05/0.3035, allocations: 99.27 kB / 411.7 MB, free: 23.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3035, allocations: 0 / 411.7 MB, free: 23.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002074/0.3037, allocations: 12 kB / 411.7 MB, free: 23.72 MB / 298.7 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 9.656e-05/0.3038, allocations: 95.25 kB / 411.8 MB, free: 23.62 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001029/0.3039, allocations: 51.86 kB / 411.8 MB, free: 23.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3039, allocations: 0 / 411.8 MB, free: 23.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.3039, allocations: 0 / 411.8 MB, free: 23.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.3043, allocations: 42.42 kB / 411.9 MB, free: 23.53 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002737/0.3046, allocations: 206.2 kB / 412.1 MB, free: 23.29 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001626/0.3047, allocations: 0.6965 MB / 412.8 MB, free: 22.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.3048, allocations: 7.438 kB / 412.8 MB, free: 22.56 MB / 298.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3048, allocations: 4 kB / 412.8 MB, free: 22.56 MB / 298.7 MB Notification: Performance of Templates: time 0.00202/0.3068, allocations: 0.7861 MB / 413.6 MB, free: 21.78 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches