Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_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-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: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_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.0008945/0.0008945, allocations: 182.2 kB / 16.12 MB, free: 5.688 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.382/1.382, allocations: 205 MB / 221.9 MB, free: 9.16 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.0007284/0.0007283, allocations: 84.25 kB / 269.9 MB, free: 8.676 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.06671/0.06671, allocations: 12.56 MB / 330.3 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003704, allocations: 12 kB / 391.2 MB, free: 66.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08366/0.08405, allocations: 49.98 MB / 441.1 MB, free: 16.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001362/0.08546, allocations: 1.234 MB / 442.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002997/0.08578, allocations: 139.5 kB / 442.5 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.91e-05/0.08586, allocations: 3.938 kB / 442.5 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.149e-05/0.08596, allocations: 4 kB / 442.5 MB, free: 14.9 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.844e-05/0.08605, allocations: 11.92 kB / 442.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.08624, allocations: 39.91 kB / 442.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.641e-05/0.08633, allocations: 35.86 kB / 442.6 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.433e-05/0.08643, allocations: 16.27 kB / 442.6 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.605e-05/0.08646, allocations: 11.94 kB / 442.6 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.109e-05/0.0865, allocations: 15.91 kB / 442.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.08652, allocations: 0 / 442.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.064e-05/0.08654, allocations: 4 kB / 442.7 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.0866, allocations: 15.94 kB / 442.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.78e-05/0.08663, allocations: 23.8 kB / 442.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.35e-05/0.08671, allocations: 47.75 kB / 442.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.08672, allocations: 0 / 442.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.08673, allocations: 0 / 442.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.08674, allocations: 7.875 kB / 442.7 MB, free: 14.68 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.0003345/0.08708, allocations: 367.2 kB / 443.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.08712, allocations: 8.031 kB / 443.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.02e-05/0.08716, allocations: 38.73 kB / 443.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.356e-05/0.08719, allocations: 12.84 kB / 443.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.08733, allocations: 188.1 kB / 443.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.08735, allocations: 384 / 443.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.08737, allocations: 4.375 kB / 443.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.0876, allocations: 122.5 kB / 443.5 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.08762, allocations: 3.938 kB / 443.5 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.08763, allocations: 7.984 kB / 443.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.08766, allocations: 3.984 kB / 443.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.281e-05/0.08775, allocations: 31.92 kB / 443.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.08806, allocations: 365.9 kB / 443.9 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.938e-05/0.08817, allocations: 75.78 kB / 443.9 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.392e-05/0.08824, allocations: 42.56 kB / 444 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-06/0.08826, allocations: 0 / 444 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.291e-05/0.08827, allocations: 34.56 kB / 444 MB, free: 13.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.08828, allocations: 0 / 444 MB, free: 13.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002549/0.08854, allocations: 101.7 kB / 444.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.08859, allocations: 110.7 kB / 444.2 MB, free: 12.94 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.849e-05/0.08869, allocations: 140.8 kB / 444.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.0887, allocations: 29.64 kB / 444.4 MB, free: 12.76 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.552e-05/0.08874, allocations: 88.05 kB / 444.5 MB, free: 12.67 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.092e-05/0.08876, allocations: 7.984 kB / 444.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/0.08879, allocations: 17.91 kB / 444.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.819e-05/0.08885, allocations: 322.8 kB / 444.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.276e-05/0.0889, allocations: 11.98 kB / 444.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.247e-05/0.08895, allocations: 35.42 kB / 444.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.459e-05/0.08904, allocations: 63.36 kB / 444.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.08905, allocations: 0 / 444.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001167/0.08917, allocations: 81.55 kB / 445 MB, free: 12.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.0892, allocations: 4 kB / 445 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.08921, allocations: 4 kB / 445 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.08922, allocations: 96 / 445 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.807e-05/0.08925, allocations: 3.938 kB / 445 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.08926, allocations: 4 kB / 445 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.674e-05/0.0893, allocations: 11.97 kB / 445 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.08931, allocations: 3.938 kB / 445 MB, free: 12.06 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.08943, allocations: 126.8 kB / 445.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.246e-05/0.08951, allocations: 53.59 kB / 445.2 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.271e-05/0.08954, allocations: 11.83 kB / 445.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.08956, allocations: 7.984 kB / 445.2 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.08956, allocations: 0 / 445.2 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.08957, allocations: 4 kB / 445.2 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.08975, allocations: 173.6 kB / 445.4 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.08976, allocations: 0 / 445.4 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.561e-06/0.08977, allocations: 3.938 kB / 445.4 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.08977, allocations: 8.031 kB / 445.4 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.08979, allocations: 7.984 kB / 445.4 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.08979, allocations: 0 / 445.4 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.0898, allocations: 0 / 445.4 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.08996, allocations: 267.5 kB / 445.7 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.789e-05/0.09001, allocations: 92.94 kB / 445.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.09003, allocations: 4 kB / 445.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.288e-05/0.09012, allocations: 0 / 445.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.09016, allocations: 11.94 kB / 445.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.09017, allocations: 0 / 445.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.495e-05/0.09022, allocations: 113.7 kB / 445.9 MB, free: 11.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09023, allocations: 0 / 445.9 MB, free: 11.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002333/0.09047, allocations: 8 kB / 445.9 MB, free: 11.09 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003078/0.09078, allocations: 0.7867 MB / 446.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.09092, allocations: 43.92 kB / 446.7 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.09093, allocations: 0 / 446.7 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.081e-05/0.09098, allocations: 19.92 kB / 446.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.09137, allocations: 28.02 kB / 446.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009673/0.09235, allocations: 1.472 MB / 448.3 MB, free: 8.598 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.0925, allocations: 0.6926 MB / 449 MB, free: 7.879 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.306e-05/0.09256, allocations: 15.97 kB / 449 MB, free: 7.863 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.322e-05/0.09261, allocations: 11.44 kB / 449 MB, free: 7.852 MB / 298.7 MB Notification: Performance of SimCode: time 4.1e-07/0.09262, allocations: 4 kB / 449 MB, free: 7.848 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009938/0.1026, allocations: 1.464 MB / 450.5 MB, free: 6.375 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001475/0.1027, allocations: 253.5 kB / 450.7 MB, free: 6.113 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/1.717, allocations: 0 / 450.7 MB, free: 6.113 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_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_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.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