Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001061/0.001061, allocations: 202.7 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.45/1.45, allocations: 226.5 MB / 244.7 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008859/0.000886, allocations: 92.59 kB / 296.7 MB, free: 6.895 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002963/0.0002967, allocations: 11.98 kB / 356.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2587, allocations: 51.3 MB / 408.1 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001583/0.2603, allocations: 1.23 MB / 409.4 MB, free: 26.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003187/0.2607, allocations: 131.6 kB / 409.5 MB, free: 26.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.42e-05/0.2608, allocations: 7.938 kB / 409.5 MB, free: 26.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.576e-05/0.2609, allocations: 9.328 kB / 409.5 MB, free: 26.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.419e-05/0.261, allocations: 3.938 kB / 409.5 MB, free: 26.31 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.2612, allocations: 35.91 kB / 409.6 MB, free: 26.28 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.774e-05/0.2613, allocations: 39.84 kB / 409.6 MB, free: 26.24 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.2614, allocations: 14.41 kB / 409.6 MB, free: 26.23 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.026e-05/0.2614, allocations: 7.938 kB / 409.6 MB, free: 26.22 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.226e-05/0.2615, allocations: 15.92 kB / 409.6 MB, free: 26.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.2615, allocations: 0.5312 kB / 409.6 MB, free: 26.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.302e-05/0.2615, allocations: 4.5 kB / 409.6 MB, free: 26.2 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.316e-05/0.2616, allocations: 22 kB / 409.7 MB, free: 26.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.846e-05/0.2616, allocations: 41.58 kB / 409.7 MB, free: 26.13 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.675e-05/0.2617, allocations: 35.94 kB / 409.7 MB, free: 26.1 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.2617, allocations: 0 / 409.7 MB, free: 26.1 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.977e-06/0.2617, allocations: 0 / 409.7 MB, free: 26.1 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.2617, allocations: 3.938 kB / 409.7 MB, free: 26.09 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.0004869/0.2622, allocations: 354 kB / 410.1 MB, free: 25.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.2623, allocations: 15.97 kB / 410.1 MB, free: 25.68 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.048e-05/0.2623, allocations: 31.28 kB / 410.1 MB, free: 25.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.2624, allocations: 20.69 kB / 410.1 MB, free: 25.63 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.2626, allocations: 192.2 kB / 410.3 MB, free: 25.4 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.2626, allocations: 384 / 410.3 MB, free: 25.4 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.2627, allocations: 8.375 kB / 410.3 MB, free: 25.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.263, allocations: 116.1 kB / 410.5 MB, free: 25.26 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.263, allocations: 3.938 kB / 410.5 MB, free: 25.26 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-06/0.263, allocations: 0 / 410.5 MB, free: 25.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.524e-05/0.263, allocations: 4 kB / 410.5 MB, free: 25.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.182e-05/0.2631, allocations: 39.91 kB / 410.5 MB, free: 25.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.2635, allocations: 357.8 kB / 410.9 MB, free: 24.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.906e-05/0.2636, allocations: 83.78 kB / 410.9 MB, free: 24.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.845e-05/0.2636, allocations: 34.62 kB / 411 MB, free: 24.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.795e-06/0.2637, allocations: 7.938 kB / 411 MB, free: 24.65 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.2637, allocations: 38.55 kB / 411 MB, free: 24.6 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.2637, allocations: 0 / 411 MB, free: 24.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002824/0.264, allocations: 93.52 kB / 411.1 MB, free: 24.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.264, allocations: 119.1 kB / 411.2 MB, free: 24.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.258e-05/0.2641, allocations: 148.4 kB / 411.4 MB, free: 24.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.2641, allocations: 33.58 kB / 411.4 MB, free: 24.17 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.592e-05/0.2642, allocations: 84.14 kB / 411.5 MB, free: 24.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.111e-05/0.2642, allocations: 7.906 kB / 411.5 MB, free: 24.08 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-06/0.2642, allocations: 0 / 411.5 MB, free: 24.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.048e-05/0.2643, allocations: 322.8 kB / 411.8 MB, free: 23.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.203e-05/0.2643, allocations: 8 kB / 411.8 MB, free: 23.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.329e-05/0.2644, allocations: 43.42 kB / 411.9 MB, free: 23.69 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.422e-05/0.2645, allocations: 59.34 kB / 411.9 MB, free: 23.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.2645, allocations: 0 / 411.9 MB, free: 23.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001173/0.2646, allocations: 69.62 kB / 412 MB, free: 23.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.2646, allocations: 8 kB / 412 MB, free: 23.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.2646, allocations: 3.984 kB / 412 MB, free: 23.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.2646, allocations: 0 / 412 MB, free: 23.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.131e-05/0.2647, allocations: 12.06 kB / 412 MB, free: 23.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2647, allocations: 0 / 412 MB, free: 23.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.559e-05/0.2647, allocations: 4 kB / 412 MB, free: 23.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.2647, allocations: 0 / 412 MB, free: 23.52 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 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.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 0.0001075/0.2648, allocations: 133.7 kB / 412.1 MB, free: 23.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.337e-05/0.2649, allocations: 49.59 kB / 412.2 MB, free: 23.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.756e-05/0.265, allocations: 15.95 kB / 412.2 MB, free: 23.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.265, allocations: 4 kB / 412.2 MB, free: 23.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.265, allocations: 4.031 kB / 412.2 MB, free: 23.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.265, allocations: 0 / 412.2 MB, free: 23.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.2652, allocations: 173.6 kB / 412.4 MB, free: 23.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2652, allocations: 0 / 412.4 MB, free: 23.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.336e-06/0.2652, allocations: 15.92 kB / 412.4 MB, free: 23.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2652, allocations: 0 / 412.4 MB, free: 23.06 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.2652, allocations: 0 / 412.4 MB, free: 23.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2652, allocations: 0 / 412.4 MB, free: 23.06 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2652, allocations: 4 kB / 412.4 MB, free: 23.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.2654, allocations: 259.5 kB / 412.7 MB, free: 22.78 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.2654, allocations: 93 kB / 412.7 MB, free: 22.67 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.2655, allocations: 0 / 412.7 MB, free: 22.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.554e-05/0.2656, allocations: 8 kB / 412.8 MB, free: 22.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.2656, allocations: 7.984 kB / 412.8 MB, free: 22.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.2656, allocations: 7.938 kB / 412.8 MB, free: 22.65 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.894e-05/0.2657, allocations: 109.9 kB / 412.9 MB, free: 22.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2657, allocations: 0 / 412.9 MB, free: 22.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002381/0.2659, allocations: 4 kB / 412.9 MB, free: 22.54 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 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.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.0003365/0.2663, allocations: 0.7946 MB / 413.7 MB, free: 21.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001366/0.2664, allocations: 47.84 kB / 413.7 MB, free: 21.67 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2664, allocations: 4.25 kB / 413.7 MB, free: 21.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.237e-05/0.2665, allocations: 19.94 kB / 413.7 MB, free: 21.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.2669, allocations: 28.03 kB / 413.8 MB, free: 21.62 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007117/0.2676, allocations: 0.5513 MB / 414.3 MB, free: 21 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.2678, allocations: 0.6887 MB / 415 MB, free: 20.28 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.733e-05/0.2678, allocations: 15.5 kB / 415 MB, free: 20.27 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2678, allocations: 0 / 415 MB, free: 20.27 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.643/2.911, allocations: 1.032 MB / 416.1 MB, free: 19.24 MB / 298.7 MB (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,sample1.y[1],sample1.y[2] Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sample1.n,sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2],step1.startTime,step1.startValue,step1.y,step2.startTime,step2.startValue,step2.y,time