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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0008596/0.0008597, allocations: 172.7 kB / 16.76 MB, free: 4.926 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.241/1.241, allocations: 205 MB / 222.5 MB, free: 9.059 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007188/0.0007188, allocations: 92.22 kB / 270.5 MB, free: 8.656 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0657/0.0657, allocations: 12.57 MB / 331 MB, free: 12.05 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.0003629, allocations: 8 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07705/0.07743, allocations: 49.99 MB / 441.7 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock): time 0.001138/0.07861, allocations: 0.587 MB / 442.3 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002732/0.0789, allocations: 115.7 kB / 442.4 MB, free: 15.69 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.359e-05/0.079, allocations: 3.938 kB / 442.4 MB, free: 15.69 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.678e-05/0.07906, allocations: 0 / 442.4 MB, free: 15.69 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.07918, allocations: 11.92 kB / 442.4 MB, free: 15.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.07939, allocations: 23.97 kB / 442.4 MB, free: 15.65 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.138e-05/0.07947, allocations: 35.92 kB / 442.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.07958, allocations: 20.27 kB / 442.5 MB, free: 15.6 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.862e-05/0.07962, allocations: 15.88 kB / 442.5 MB, free: 15.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.132e-05/0.07965, allocations: 15.91 kB / 442.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.07967, allocations: 4 kB / 442.5 MB, free: 15.56 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.023e-05/0.07969, allocations: 0 / 442.5 MB, free: 15.56 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.957e-05/0.07974, allocations: 19.92 kB / 442.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.982e-05/0.07978, allocations: 23.75 kB / 442.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.985e-05/0.07985, allocations: 35.88 kB / 442.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.07986, allocations: 4 kB / 442.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.07986, allocations: 0 / 442.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.07987, allocations: 4 kB / 442.6 MB, free: 15.48 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.0002837/0.08016, allocations: 359.2 kB / 443 MB, free: 15.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.0802, allocations: 12.02 kB / 443 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.08025, allocations: 8.844 kB / 443 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.08039, allocations: 185.6 kB / 443.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.08041, allocations: 4.375 kB / 443.2 MB, free: 14.83 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.08042, allocations: 8.375 kB / 443.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.08066, allocations: 131.8 kB / 443.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.08067, allocations: 192 / 443.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.08069, allocations: 7.938 kB / 443.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.0807, allocations: 0 / 443.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.518e-05/0.08074, allocations: 12 kB / 443.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001075/0.08085, allocations: 177.6 kB / 443.5 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.08097, allocations: 66.7 kB / 443.6 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.133e-05/0.08103, allocations: 40.84 kB / 443.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.477e-06/0.08105, allocations: 0 / 443.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/0.08107, allocations: 34.56 kB / 443.6 MB, free: 14.28 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 8.81e-07/0.08108, allocations: 0 / 443.6 MB, free: 14.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001642/0.08124, allocations: 105.4 kB / 443.7 MB, free: 14.17 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.08129, allocations: 55.41 kB / 443.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.894e-05/0.08137, allocations: 138.2 kB / 443.9 MB, free: 13.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.133e-06/0.08139, allocations: 25.7 kB / 443.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.522e-05/0.08142, allocations: 88.12 kB / 444 MB, free: 13.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.286e-05/0.08144, allocations: 0 / 444 MB, free: 13.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/0.08146, allocations: 21.66 kB / 444.1 MB, free: 13.81 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.548e-05/0.08151, allocations: 318.8 kB / 444.4 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.54e-05/0.08153, allocations: 12 kB / 444.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.908e-05/0.08157, allocations: 54.86 kB / 444.4 MB, free: 13.4 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.248e-05/0.08163, allocations: 74.75 kB / 444.5 MB, free: 13.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.08163, allocations: 0 / 444.5 MB, free: 13.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.665e-05/0.08174, allocations: 97.55 kB / 444.6 MB, free: 13.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.08176, allocations: 8 kB / 444.6 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.08177, allocations: 3.938 kB / 444.6 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.08178, allocations: 4.188 kB / 444.6 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.49e-05/0.0818, allocations: 4 kB / 444.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.08182, allocations: 7.875 kB / 444.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.157e-05/0.08185, allocations: 4 kB / 444.6 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-06/0.08187, allocations: 4 kB / 444.6 MB, free: 13.17 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,$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 5.986e-05/0.08193, allocations: 134 kB / 444.8 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.264e-05/0.082, allocations: 65.92 kB / 444.8 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.08203, allocations: 16.3 kB / 444.8 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.08204, allocations: 4 kB / 444.8 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.08205, allocations: 0 / 444.8 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.08206, allocations: 0 / 444.8 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.938e-05/0.08212, allocations: 169.6 kB / 445 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.08213, allocations: 3.938 kB / 445 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.021e-05/0.08214, allocations: 7.984 kB / 445 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.08215, allocations: 0 / 445 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.08216, allocations: 3.938 kB / 445 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.08217, allocations: 4.078 kB / 445 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.08217, allocations: 3.984 kB / 445 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.464e-05/0.08226, allocations: 101 kB / 445.1 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.0823, allocations: 89 kB / 445.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.08233, allocations: 7.938 kB / 445.2 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.312e-05/0.08234, allocations: 4 kB / 445.2 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.943e-06/0.08236, allocations: 0 / 445.2 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.08236, allocations: 0 / 445.2 MB, free: 12.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.858e-05/0.08241, allocations: 111.2 kB / 445.3 MB, free: 12.36 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08241, allocations: 3.938 kB / 445.3 MB, free: 12.35 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001813/0.0826, allocations: 4 kB / 445.3 MB, free: 12.35 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.822e-05/0.08267, allocations: 103.2 kB / 445.4 MB, free: 12.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.222e-05/0.08277, allocations: 39.92 kB / 445.5 MB, free: 12.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.08278, allocations: 0.5 kB / 445.5 MB, free: 12.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.08279, allocations: 4 kB / 445.5 MB, free: 12.19 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.08311, allocations: 43.95 kB / 445.5 MB, free: 12.15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002337/0.08335, allocations: 201.1 kB / 445.7 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.08347, allocations: 0.6926 MB / 446.4 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.84e-05/0.0835, allocations: 15.44 kB / 446.4 MB, free: 11.18 MB / 298.7 MB Notification: Performance of SimCode: time 3.11e-07/0.0835, allocations: 0 / 446.4 MB, free: 11.18 MB / 298.7 MB Notification: Performance of Templates: time 0.001702/0.08521, allocations: 0.7819 MB / 447.2 MB, free: 10.4 MB / 298.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches