Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001059/0.001059, allocations: 117.7 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001251/0.001251, allocations: 199.8 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 59.91 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2642, allocations: 50.55 MB / 408.7 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002856/0.2671, allocations: 1.518 MB / 410.3 MB, free: 120 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004408/0.2676, allocations: 151.5 kB / 410.4 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.804e-05/0.2677, allocations: 4 kB / 410.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.2678, allocations: 3.938 kB / 410.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.268, allocations: 7.922 kB / 410.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.2683, allocations: 47.52 kB / 410.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.2684, allocations: 43.78 kB / 410.5 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.2686, allocations: 12 kB / 410.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.872e-05/0.2686, allocations: 19.92 kB / 410.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.964e-05/0.2686, allocations: 15.92 kB / 410.6 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.2687, allocations: 4 kB / 410.6 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.941e-05/0.2687, allocations: 4 kB / 410.6 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.18e-05/0.2688, allocations: 11.94 kB / 410.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.718e-05/0.2688, allocations: 31.78 kB / 410.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.269, allocations: 51.77 kB / 410.7 MB, free: 15.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.269, allocations: 0 / 410.7 MB, free: 15.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.269, allocations: 0 / 410.7 MB, free: 15.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.269, allocations: 0 / 410.7 MB, free: 15.72 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.0005501/0.2696, allocations: 372.9 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.2696, allocations: 12.03 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.989e-05/0.2697, allocations: 42.67 kB / 411.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.2697, allocations: 8.844 kB / 411.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.27, allocations: 200.1 kB / 411.3 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.2701, allocations: 384 / 411.3 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.2701, allocations: 8.312 kB / 411.3 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/0.2704, allocations: 122.5 kB / 411.4 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.2705, allocations: 3.938 kB / 411.4 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.2705, allocations: 0 / 411.4 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.778e-05/0.2705, allocations: 4 kB / 411.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.863e-05/0.2706, allocations: 27.92 kB / 411.4 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.2711, allocations: 365.9 kB / 411.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.2712, allocations: 71.84 kB / 411.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.85e-05/0.2713, allocations: 38.56 kB / 411.9 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.2713, allocations: 3.938 kB / 411.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.2714, allocations: 38.5 kB / 412 MB, free: 14.21 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.2714, allocations: 0 / 412 MB, free: 14.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003297/0.2717, allocations: 97.88 kB / 412.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.2718, allocations: 106.8 kB / 412.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.2719, allocations: 140.7 kB / 412.3 MB, free: 13.83 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.2719, allocations: 29.64 kB / 412.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.62e-05/0.272, allocations: 96.12 kB / 412.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.109e-05/0.272, allocations: 0 / 412.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/0.2721, allocations: 25.62 kB / 412.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.2722, allocations: 322.8 kB / 412.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.674e-05/0.2723, allocations: 12 kB / 412.8 MB, free: 13.33 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.304e-05/0.2723, allocations: 35.42 kB / 412.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.953e-05/0.2724, allocations: 59.34 kB / 412.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2724, allocations: 0 / 412.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001342/0.2726, allocations: 65.62 kB / 412.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.2726, allocations: 4 kB / 412.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2726, allocations: 0 / 412.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.2726, allocations: 7.984 kB / 412.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.181e-05/0.2727, allocations: 4 kB / 412.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2727, allocations: 4.062 kB / 412.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.948e-05/0.2727, allocations: 11.94 kB / 413 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.2727, allocations: 0 / 413 MB, free: 13.11 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.0001317/0.2729, allocations: 129.7 kB / 413.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.756e-05/0.273, allocations: 45.61 kB / 413.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.18e-05/0.273, allocations: 19.81 kB / 413.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.273, allocations: 4 kB / 413.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.273, allocations: 0 / 413.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.273, allocations: 0 / 413.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.2733, allocations: 181.6 kB / 413.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.2733, allocations: 4 kB / 413.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.157e-06/0.2733, allocations: 4.094 kB / 413.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.2733, allocations: 7.969 kB / 413.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.2733, allocations: 0 / 413.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2733, allocations: 3.938 kB / 413.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.2733, allocations: 4 kB / 413.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/0.2736, allocations: 259.5 kB / 413.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.267e-05/0.2736, allocations: 97 kB / 413.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.2737, allocations: 0 / 413.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.069e-05/0.2738, allocations: 4 kB / 413.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.2738, allocations: 3.984 kB / 413.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.2738, allocations: 4 kB / 413.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.374e-05/0.2739, allocations: 106.1 kB / 413.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.663e-06/0.2739, allocations: 4 kB / 413.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.2742, allocations: 7.938 kB / 413.8 MB, free: 12.13 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.0005481/0.2747, allocations: 0.7945 MB / 414.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001541/0.2749, allocations: 43.91 kB / 414.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2749, allocations: 0 / 414.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.198e-05/0.2749, allocations: 11.94 kB / 414.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.2754, allocations: 26.25 kB / 414.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.2769, allocations: 1.451 MB / 416.2 MB, free: 9.672 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.2772, allocations: 0.6924 MB / 416.8 MB, free: 8.953 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.862e-05/0.2772, allocations: 7.984 kB / 416.9 MB, free: 8.945 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.669e-05/0.2773, allocations: 15.44 kB / 416.9 MB, free: 8.93 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2773, allocations: 0 / 416.9 MB, free: 8.93 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01666/0.294, allocations: 1.74 MB / 418.6 MB, free: 7.34 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.471/7.765, allocations: 7.188 kB / 418.6 MB, free: 7.336 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches