Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008353/0.0008353, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008703/0.0008703, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8897/0.8897, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.101e-05, allocations: 6.281 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001955/0.001976, allocations: 1.536 MB / 326.1 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002835/0.002259, allocations: 151.4 kB / 326.2 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.811e-05/0.002328, allocations: 4 kB / 326.3 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.549e-05/0.002413, allocations: 11.92 kB / 326.3 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.128e-05/0.002504, allocations: 7.875 kB / 326.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.00268, allocations: 39.83 kB / 326.3 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.79e-05/0.002768, allocations: 43.86 kB / 326.4 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.695e-05/0.002865, allocations: 15.97 kB / 326.4 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.711e-05/0.002902, allocations: 19.92 kB / 326.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.849e-05/0.002931, allocations: 11.98 kB / 326.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.002952, allocations: 4 kB / 326.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.146e-06/0.00296, allocations: 4 kB / 326.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.754e-05/0.003008, allocations: 15.92 kB / 326.4 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.681e-05/0.003034, allocations: 15.92 kB / 326.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.602e-05/0.00313, allocations: 55.75 kB / 326.5 MB, free: 14.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.003132, allocations: 0 / 326.5 MB, free: 14.01 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.003133, allocations: 0 / 326.5 MB, free: 14.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.003137, allocations: 0 / 326.5 MB, free: 14.01 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.0003303/0.003467, allocations: 298 kB / 326.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.003502, allocations: 8.031 kB / 326.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.599e-05/0.003528, allocations: 38.69 kB / 326.8 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.115e-05/0.003549, allocations: 8.891 kB / 326.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.003711, allocations: 133.6 kB / 327 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.003729, allocations: 8.375 kB / 327 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-06/0.003737, allocations: 384 / 327 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.003938, allocations: 126.4 kB / 327.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.003945, allocations: 192 / 327.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.003952, allocations: 4.312 kB / 327.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.003974, allocations: 12.11 kB / 327.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.756e-05/0.004022, allocations: 23.98 kB / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/0.004299, allocations: 329 kB / 327.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.425e-05/0.004373, allocations: 83.72 kB / 327.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.634e-05/0.004409, allocations: 26.62 kB / 327.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.004419, allocations: 7.938 kB / 327.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.004437, allocations: 34.56 kB / 327.6 MB, free: 12.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.412e-06/0.004438, allocations: 0 / 327.6 MB, free: 12.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001774/0.004615, allocations: 101.8 kB / 327.7 MB, free: 12.6 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.004659, allocations: 106.8 kB / 327.8 MB, free: 12.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.488e-05/0.004734, allocations: 136.6 kB / 327.9 MB, free: 12.33 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.258e-06/0.004743, allocations: 29.7 kB / 328 MB, free: 12.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.672e-05/0.00478, allocations: 88.12 kB / 328.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.067e-06/0.004789, allocations: 7.953 kB / 328.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.237e-05/0.004811, allocations: 13.72 kB / 328.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.637e-05/0.004877, allocations: 314.8 kB / 328.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.267e-05/0.0049, allocations: 11.98 kB / 328.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.116e-05/0.004921, allocations: 17.75 kB / 328.4 MB, free: 11.83 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.18e-05/0.004963, allocations: 45.69 kB / 328.5 MB, free: 11.78 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.004965, allocations: 0 / 328.5 MB, free: 11.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.851e-05/0.005023, allocations: 57.58 kB / 328.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.005033, allocations: 4 kB / 328.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.005038, allocations: 4 kB / 328.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.005048, allocations: 3.938 kB / 328.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.459e-05/0.005063, allocations: 8 kB / 328.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.005067, allocations: 0 / 328.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.48e-05/0.005082, allocations: 4 kB / 328.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.005086, allocations: 3.984 kB / 328.6 MB, free: 11.69 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u[1],sample1.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.43e-05/0.005151, allocations: 117.8 kB / 328.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.005196, allocations: 57.56 kB / 328.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.622e-05/0.005212, allocations: 11.92 kB / 328.7 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.005222, allocations: 7.984 kB / 328.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.005227, allocations: 3.984 kB / 328.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.005229, allocations: 0 / 328.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.005367, allocations: 148.8 kB / 328.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.00537, allocations: 3.938 kB / 328.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-06/0.005373, allocations: 0 / 328.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.005374, allocations: 0 / 328.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-06/0.00538, allocations: 4 kB / 328.9 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.005382, allocations: 7.922 kB / 328.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.005383, allocations: 0 / 328.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.005499, allocations: 251.6 kB / 329.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.586e-05/0.005525, allocations: 23.81 kB / 329.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.005534, allocations: 0 / 329.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.983e-05/0.005584, allocations: 8 kB / 329.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.005614, allocations: 7.938 kB / 329.2 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.005617, allocations: 4 kB / 329.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.335e-05/0.00567, allocations: 107.2 kB / 329.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00567, allocations: 0 / 329.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001608/0.005831, allocations: 7.938 kB / 329.3 MB, free: 10.85 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 (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.0003289/0.00616, allocations: 0.7867 MB / 330.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.94e-05/0.00625, allocations: 39.92 kB / 330.1 MB, free: 9.996 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.006251, allocations: 0 / 330.1 MB, free: 9.996 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.64e-05/0.006277, allocations: 11.98 kB / 330.1 MB, free: 9.984 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.006555, allocations: 25.33 kB / 330.2 MB, free: 9.965 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008789/0.007434, allocations: 1.417 MB / 331.6 MB, free: 8.453 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.418e-05/0.007488, allocations: 75.58 kB / 331.7 MB, free: 8.359 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.594e-05/0.007514, allocations: 11.98 kB / 331.7 MB, free: 8.348 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.007547, allocations: 16.5 kB / 331.7 MB, free: 8.332 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.007547, allocations: 4 kB / 331.7 MB, free: 8.328 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01688/0.02442, allocations: 2.377 MB / 334.1 MB, free: 6.094 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.638/6.662, allocations: 2.75 kB / 334.1 MB, free: 6.094 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y[1],sample1.y[2] Variables in the result:periodicClock.factor,periodicClock.resolution,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 [Calling sys.exit(0), Time elapsed: 8.297351581975818]