Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.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/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/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: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008122/0.0008122, allocations: 174 kB / 16.76 MB, free: 5.047 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.186/1.186, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0006552/0.0006552, allocations: 89.36 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06012/0.06012, allocations: 12.19 MB / 331.8 MB, free: 11.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003634, allocations: 12 kB / 392.2 MB, free: 66.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07521/0.07559, allocations: 50.29 MB / 442.5 MB, free: 16.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.000976/0.07661, allocations: 0.6104 MB / 443.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003204/0.07696, allocations: 155.6 kB / 443.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.691e-05/0.07706, allocations: 3.938 kB / 443.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.492e-05/0.07715, allocations: 3.938 kB / 443.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.972e-05/0.07723, allocations: 7.984 kB / 443.3 MB, free: 15.78 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.07744, allocations: 39.91 kB / 443.3 MB, free: 15.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.661e-05/0.07754, allocations: 63.83 kB / 443.4 MB, free: 15.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.07765, allocations: 36.2 kB / 443.4 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.076e-05/0.07771, allocations: 27.84 kB / 443.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.183e-05/0.07775, allocations: 23.86 kB / 443.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.07777, allocations: 0 / 443.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.001e-05/0.07779, allocations: 4 kB / 443.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.826e-05/0.07784, allocations: 19.92 kB / 443.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.665e-05/0.07789, allocations: 57.5 kB / 443.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.521e-05/0.07797, allocations: 55.83 kB / 443.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.07798, allocations: 0 / 443.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.07798, allocations: 0 / 443.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.07799, allocations: 0 / 443.6 MB, free: 15.45 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003057/0.07831, allocations: 379.4 kB / 444 MB, free: 15.03 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.07835, allocations: 12.03 kB / 444 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.496e-05/0.07839, allocations: 42.67 kB / 444 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.07843, allocations: 16.75 kB / 444 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.0786, allocations: 197 kB / 444.2 MB, free: 14.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.07862, allocations: 12.38 kB / 444.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.07864, allocations: 4.375 kB / 444.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003524/0.079, allocations: 239.3 kB / 444.5 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.07902, allocations: 0 / 444.5 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.07903, allocations: 8 kB / 444.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.07905, allocations: 4 kB / 444.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.931e-05/0.07911, allocations: 31.98 kB / 444.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001155/0.07923, allocations: 189.5 kB / 444.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.0794, allocations: 126.6 kB / 444.8 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.475e-05/0.0795, allocations: 81.19 kB / 444.9 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.07952, allocations: 0 / 444.9 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.07954, allocations: 38.56 kB / 444.9 MB, free: 13.92 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 8.51e-07/0.07954, allocations: 3.938 kB / 445 MB, free: 13.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002172/0.07977, allocations: 150.8 kB / 445.1 MB, free: 13.76 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.07981, allocations: 59.41 kB / 445.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.479e-05/0.0799, allocations: 151.4 kB / 445.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.07992, allocations: 33.7 kB / 445.3 MB, free: 13.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.786e-05/0.07996, allocations: 84.47 kB / 445.4 MB, free: 13.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.07998, allocations: 11.98 kB / 445.4 MB, free: 13.39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.07999, allocations: 7.938 kB / 445.4 MB, free: 13.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.643e-05/0.08004, allocations: 318.8 kB / 445.8 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.633e-05/0.08007, allocations: 15.98 kB / 445.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.8e-05/0.08014, allocations: 124.6 kB / 445.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.08025, allocations: 153.5 kB / 446 MB, free: 12.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.08026, allocations: 0 / 446 MB, free: 12.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001703/0.08043, allocations: 157.2 kB / 446.2 MB, free: 12.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.08045, allocations: 4 kB / 446.2 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.08046, allocations: 4 kB / 446.2 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.08048, allocations: 4 kB / 446.2 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.435e-05/0.08051, allocations: 11.94 kB / 446.2 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.08052, allocations: 7.938 kB / 446.2 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.423e-05/0.08058, allocations: 24.27 kB / 446.2 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.0806, allocations: 12 kB / 446.3 MB, free: 12.46 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001084/0.08071, allocations: 145.5 kB / 446.4 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.08083, allocations: 117.5 kB / 446.5 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.595e-05/0.08087, allocations: 21.17 kB / 446.5 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.08088, allocations: 0 / 446.5 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.08089, allocations: 0 / 446.5 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.0809, allocations: 7.938 kB / 446.5 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.068e-05/0.08097, allocations: 193.5 kB / 446.7 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.08098, allocations: 0 / 446.7 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.927e-05/0.081, allocations: 3.938 kB / 446.7 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.08101, allocations: 0 / 446.7 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.08102, allocations: 8 kB / 446.7 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.08103, allocations: 0 / 446.7 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.08103, allocations: 0 / 446.7 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.08117, allocations: 152.9 kB / 446.9 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.08122, allocations: 100.8 kB / 447 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.08125, allocations: 8 kB / 447 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.017e-05/0.08127, allocations: 4 kB / 447 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-06/0.08128, allocations: 0 / 447 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.08129, allocations: 7.938 kB / 447 MB, free: 11.6 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.271e-05/0.08134, allocations: 111.2 kB / 447.1 MB, free: 11.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08134, allocations: 0 / 447.1 MB, free: 11.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002455/0.08159, allocations: 16 kB / 447.1 MB, free: 11.48 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: 16 (unitDelay1.u,unitDelay1.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.y) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0003694/0.08197, allocations: 0.7295 MB / 447.9 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.08212, allocations: 95.7 kB / 448 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.08213, allocations: 5.062 kB / 448 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.32e-07/0.08213, allocations: 0 / 448 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.08245, allocations: 84.58 kB / 448 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006814/0.08314, allocations: 0.7133 MB / 448.8 MB, free: 9.719 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.08327, allocations: 0.7126 MB / 449.5 MB, free: 8.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.08332, allocations: 27.64 kB / 449.5 MB, free: 8.953 MB / 298.7 MB Notification: Performance of SimCode: time 3.6e-07/0.08333, allocations: 0 / 449.5 MB, free: 8.953 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.357/2.44, allocations: 1.442 MB / 450.9 MB, free: 7.512 MB / 298.7 MB (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:Time,unitDelay1.y,unitDelay2.y,xor.y,xor1.y Variables in the result:assignClock1.n,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],integerConstant.k,integerConstant.y,integerConstant1.k,integerConstant1.y,periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,previous(unitDelay1.u),previous(unitDelay2.u),time,unitDelay1.u,unitDelay1.y,unitDelay1.y_start,unitDelay2.u,unitDelay2.y,unitDelay2.y_start,xor.u1,xor.u2,xor.y,xor1.u1,xor1.u2,xor1.y