Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.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.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",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.0008634/0.0008634, allocations: 175.4 kB / 16.77 MB, free: 4.922 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.245/1.245, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0007343/0.0007343, allocations: 89.53 kB / 271.3 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05828/0.05828, allocations: 12.2 MB / 331.8 MB, free: 11.63 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003827/0.0003829, allocations: 12 kB / 392.2 MB, free: 66.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06864/0.06904, allocations: 50.28 MB / 442.5 MB, free: 16.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.00135/0.07042, allocations: 1.215 MB / 443.7 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003413/0.07079, allocations: 159.6 kB / 443.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.692e-05/0.07087, allocations: 4 kB / 443.9 MB, free: 15.17 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.596e-05/0.07096, allocations: 11.92 kB / 443.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.257e-05/0.07105, allocations: 7.938 kB / 443.9 MB, free: 15.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.07123, allocations: 31.95 kB / 443.9 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.641e-05/0.07131, allocations: 39.86 kB / 444 MB, free: 15.08 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.957e-05/0.07141, allocations: 19.97 kB / 444 MB, free: 15.06 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.113e-05/0.07147, allocations: 23.8 kB / 444 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.74e-05/0.0715, allocations: 11.94 kB / 444 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.07152, allocations: 8 kB / 444 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.808e-06/0.07154, allocations: 0 / 444 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.759e-05/0.07158, allocations: 15.91 kB / 444 MB, free: 15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.361e-05/0.07162, allocations: 41.58 kB / 444.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.107e-05/0.07169, allocations: 35.94 kB / 444.1 MB, free: 14.92 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.0717, allocations: 0 / 444.1 MB, free: 14.92 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.07171, allocations: 0 / 444.1 MB, free: 14.92 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.07171, allocations: 0 / 444.1 MB, free: 14.92 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003347/0.07205, allocations: 375.4 kB / 444.5 MB, free: 14.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.0721, allocations: 12.03 kB / 444.5 MB, free: 14.49 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.758e-05/0.07213, allocations: 38.69 kB / 444.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.326e-05/0.07216, allocations: 8.844 kB / 444.5 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.07231, allocations: 196.2 kB / 444.7 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.07233, allocations: 384 / 444.7 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.07235, allocations: 4.375 kB / 444.7 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.07259, allocations: 126.5 kB / 444.9 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.07261, allocations: 3.938 kB / 444.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.07262, allocations: 0 / 444.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.07265, allocations: 7.984 kB / 444.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.051e-05/0.07274, allocations: 31.92 kB / 444.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002971/0.07304, allocations: 373.8 kB / 445.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.774e-05/0.07314, allocations: 79.84 kB / 445.3 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.853e-05/0.0732, allocations: 38.56 kB / 445.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-06/0.07322, allocations: 0 / 445.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.374e-05/0.07323, allocations: 30.56 kB / 445.4 MB, free: 13.4 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.07324, allocations: 0 / 445.4 MB, free: 13.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002444/0.07349, allocations: 105.5 kB / 445.5 MB, free: 13.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.07353, allocations: 110.7 kB / 445.6 MB, free: 13.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.457e-05/0.07361, allocations: 139.5 kB / 445.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/0.07363, allocations: 25.7 kB / 445.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.102e-05/0.07366, allocations: 96.42 kB / 445.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.197e-06/0.07368, allocations: 7.922 kB / 445.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-06/0.07369, allocations: 0 / 445.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.655e-05/0.07374, allocations: 318.8 kB / 446.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.089e-05/0.07379, allocations: 19.92 kB / 446.2 MB, free: 12.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.019e-05/0.07383, allocations: 35.42 kB / 446.2 MB, free: 12.49 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.775e-05/0.07392, allocations: 59.36 kB / 446.3 MB, free: 12.42 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.07393, allocations: 0 / 446.3 MB, free: 12.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001159/0.07405, allocations: 81.52 kB / 446.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.07407, allocations: 4 kB / 446.4 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.07408, allocations: 0 / 446.4 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.07409, allocations: 4 kB / 446.4 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.725e-05/0.07412, allocations: 3.938 kB / 446.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.07413, allocations: 0 / 446.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.57e-05/0.07416, allocations: 4 kB / 446.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.07418, allocations: 8.125 kB / 446.4 MB, free: 12.31 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample.u[1],sample.u[2],sample.y[2],sample.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.505e-05/0.07428, allocations: 137.5 kB / 446.5 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.808e-05/0.07435, allocations: 45.59 kB / 446.6 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.049e-05/0.07438, allocations: 15.83 kB / 446.6 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.0744, allocations: 4 kB / 446.6 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.0744, allocations: 0 / 446.6 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.07441, allocations: 3.984 kB / 446.6 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.07458, allocations: 177.5 kB / 446.8 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.07459, allocations: 4 kB / 446.8 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.831e-06/0.0746, allocations: 4.031 kB / 446.8 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.07461, allocations: 0 / 446.8 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.07462, allocations: 0 / 446.8 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.07462, allocations: 8 kB / 446.8 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.07463, allocations: 0 / 446.8 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.07478, allocations: 263.6 kB / 447.1 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/0.07483, allocations: 93.03 kB / 447.1 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.07485, allocations: 4 kB / 447.2 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.204e-05/0.07494, allocations: 11.92 kB / 447.2 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.07498, allocations: 0 / 447.2 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.07499, allocations: 4 kB / 447.2 MB, free: 11.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.22e-05/0.07505, allocations: 110.1 kB / 447.3 MB, free: 11.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.07506, allocations: 0 / 447.3 MB, free: 11.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002356/0.0753, allocations: 11.94 kB / 447.3 MB, free: 11.33 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample.u[1],sample.u[2],sample.y[1],sample.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0002967/0.0756, allocations: 0.7905 MB / 448.1 MB, free: 10.51 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001194/0.07573, allocations: 47.91 kB / 448.1 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.07575, allocations: 0 / 448.1 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.126e-05/0.07579, allocations: 19.92 kB / 448.1 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.07617, allocations: 28.33 kB / 448.2 MB, free: 10.42 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006395/0.07682, allocations: 0.5473 MB / 448.7 MB, free: 9.793 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.07694, allocations: 0.6887 MB / 449.4 MB, free: 9.078 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.07698, allocations: 15.5 kB / 449.4 MB, free: 9.062 MB / 298.7 MB Notification: Performance of SimCode: time 2.9e-07/0.07699, allocations: 0 / 449.4 MB, free: 9.062 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.27/2.347, allocations: 1.024 MB / 450.4 MB, free: 8.039 MB / 298.7 MB (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:Time,sample.y[1],sample.y[2],step1.y,step2.y Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sample.n,sample.u[1],sample.u[2],sample.y[1],sample.y[2],step1.startTime,step1.startValue,step1.y,step2.startTime,step2.startValue,step2.y,time