Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001676/0.001676, allocations: 113.6 kB / 17.83 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002013/0.002013, allocations: 207.9 kB / 18.79 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.648/1.648, allocations: 230.4 MB / 250 MB, free: 9.004 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 67.84 kB / 367.3 MB, free: 7.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4136/0.4158, allocations: 53.31 MB / 420.6 MB, free: 8.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003479/0.4193, allocations: 1.542 MB / 422.2 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005384/0.4199, allocations: 139.5 kB / 422.3 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.42, allocations: 4 kB / 422.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.4201, allocations: 3.938 kB / 422.3 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.4202, allocations: 11.92 kB / 422.3 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.4205, allocations: 43.84 kB / 422.4 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.4207, allocations: 35.91 kB / 422.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.4209, allocations: 8 kB / 422.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.568e-05/0.4209, allocations: 27.84 kB / 422.5 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.128e-05/0.421, allocations: 15.92 kB / 422.5 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.421, allocations: 0 / 422.5 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.282e-05/0.421, allocations: 4 kB / 422.5 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.939e-05/0.4211, allocations: 15.94 kB / 422.5 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.76e-05/0.4212, allocations: 27.8 kB / 422.5 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.4214, allocations: 55.69 kB / 422.6 MB, free: 6.434 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.4214, allocations: 3.938 kB / 422.6 MB, free: 6.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4214, allocations: 0 / 422.6 MB, free: 6.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.4214, allocations: 7.938 kB / 422.6 MB, free: 6.422 MB / 334.1 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.0007485/0.4222, allocations: 371.2 kB / 422.9 MB, free: 6.008 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.4222, allocations: 8.031 kB / 423 MB, free: 6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.745e-05/0.4223, allocations: 8.891 kB / 423 MB, free: 5.992 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.4226, allocations: 198.7 kB / 423.2 MB, free: 5.762 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.4227, allocations: 4.375 kB / 423.2 MB, free: 5.758 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.4227, allocations: 8.375 kB / 423.2 MB, free: 5.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000385/0.4231, allocations: 118.4 kB / 423.3 MB, free: 5.613 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.4231, allocations: 192 / 423.3 MB, free: 5.613 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.4231, allocations: 3.938 kB / 423.3 MB, free: 5.609 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/0.4231, allocations: 8 kB / 423.3 MB, free: 5.602 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.4232, allocations: 27.92 kB / 423.3 MB, free: 5.574 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005244/0.4238, allocations: 357.9 kB / 423.7 MB, free: 5.168 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.4239, allocations: 83.72 kB / 423.8 MB, free: 5.059 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.242e-05/0.424, allocations: 34.56 kB / 423.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.424, allocations: 3.938 kB / 423.8 MB, free: 5.012 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.093e-05/0.4241, allocations: 38.56 kB / 423.8 MB, free: 4.965 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.4241, allocations: 4 kB / 423.8 MB, free: 4.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003931/0.4245, allocations: 89.55 kB / 423.9 MB, free: 4.867 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.4246, allocations: 110.8 kB / 424 MB, free: 4.734 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.4248, allocations: 133.8 kB / 424.2 MB, free: 4.594 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.4248, allocations: 25.7 kB / 424.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.26e-05/0.4249, allocations: 92.5 kB / 424.3 MB, free: 4.469 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.4249, allocations: 15.95 kB / 424.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.4249, allocations: 17.72 kB / 424.3 MB, free: 4.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.4251, allocations: 318.8 kB / 424.6 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.654e-05/0.4251, allocations: 8 kB / 424.6 MB, free: 4.102 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.391e-05/0.4252, allocations: 39.42 kB / 424.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.4253, allocations: 55.3 kB / 424.7 MB, free: 3.984 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4253, allocations: 0 / 424.7 MB, free: 3.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001523/0.4254, allocations: 73.56 kB / 424.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.4255, allocations: 12.12 kB / 424.8 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4255, allocations: 0 / 424.8 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.4255, allocations: 0 / 424.8 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.603e-05/0.4255, allocations: 11.92 kB / 424.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.4255, allocations: 0 / 424.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.981e-05/0.4256, allocations: 7.938 kB / 424.8 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.4256, allocations: 0 / 424.8 MB, free: 3.875 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001656/0.4257, allocations: 129.7 kB / 425 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.4258, allocations: 57.64 kB / 425 MB, free: 3.676 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.477e-05/0.4259, allocations: 15.81 kB / 425 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.909e-05/0.4259, allocations: 4 kB / 425 MB, free: 3.648 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.4259, allocations: 8.094 kB / 425 MB, free: 3.641 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.4259, allocations: 3.984 kB / 425 MB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002884/0.4262, allocations: 173.6 kB / 425.2 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.4262, allocations: 0 / 425.2 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.989e-06/0.4262, allocations: 3.938 kB / 425.2 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.4262, allocations: 4 kB / 425.2 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.4262, allocations: 0 / 425.2 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.4263, allocations: 3.984 kB / 425.2 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4263, allocations: 4.031 kB / 425.2 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003127/0.4266, allocations: 255.5 kB / 425.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.904e-05/0.4267, allocations: 93.05 kB / 425.6 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.4267, allocations: 4 kB / 425.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.847e-05/0.4268, allocations: 0 / 425.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/0.4268, allocations: 15.92 kB / 425.6 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.4268, allocations: 0 / 425.6 MB, free: 3.004 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.104e-05/0.4269, allocations: 105.8 kB / 425.7 MB, free: 2.902 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4269, allocations: 0 / 425.7 MB, free: 2.902 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003451/0.4273, allocations: 12 kB / 425.7 MB, free: 2.891 MB / 334.1 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.0001961/0.4275, allocations: 103.2 kB / 425.8 MB, free: 2.781 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002057/0.4277, allocations: 35.92 kB / 425.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.4277, allocations: 0 / 425.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.549e-05/0.4277, allocations: 15.98 kB / 425.9 MB, free: 2.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004792/0.4282, allocations: 31.94 kB / 425.9 MB, free: 2.699 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005432/0.4288, allocations: 171.6 kB / 426.1 MB, free: 2.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000548/0.4293, allocations: 0.6996 MB / 426.8 MB, free: 1.777 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.49e-05/0.4294, allocations: 11.89 kB / 426.8 MB, free: 1.766 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.51e-05/0.4294, allocations: 11.44 kB / 426.8 MB, free: 1.754 MB / 334.1 MB Notification: Performance of SimCode: time 7.02e-07/0.4294, allocations: 0 / 426.8 MB, free: 1.754 MB / 334.1 MB Notification: Performance of Templates: time 0.004599/0.434, allocations: 0.6193 MB / 427.4 MB, free: 1.172 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches