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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001427/0.001427, allocations: 114 kB / 20.44 MB, free: 1.469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001941/0.001941, allocations: 213.4 kB / 23.74 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 230.5 MB / 257.4 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 71.89 kB / 377.8 MB, free: 3.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.262, allocations: 53.4 MB / 431.2 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003138/0.2651, allocations: 1.553 MB / 432.7 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004741/0.2656, allocations: 143.5 kB / 432.9 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.2657, allocations: 7.938 kB / 432.9 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.2658, allocations: 3.938 kB / 432.9 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.2659, allocations: 7.922 kB / 432.9 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.2662, allocations: 39.84 kB / 432.9 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.2664, allocations: 47.84 kB / 433 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.2665, allocations: 15.97 kB / 433 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.649e-05/0.2665, allocations: 15.92 kB / 433 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.204e-05/0.2666, allocations: 19.92 kB / 433 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.2666, allocations: 0 / 433 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.238e-05/0.2666, allocations: 4 kB / 433 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.931e-05/0.2667, allocations: 11.94 kB / 433 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.33e-05/0.2667, allocations: 31.8 kB / 433.1 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.2669, allocations: 51.55 kB / 433.1 MB, free: 4.781 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2669, allocations: 0 / 433.1 MB, free: 4.781 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2669, allocations: 4 kB / 433.1 MB, free: 4.777 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.2669, allocations: 0 / 433.1 MB, free: 4.777 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.0005316/0.2674, allocations: 306.6 kB / 433.4 MB, free: 4.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.2675, allocations: 8.031 kB / 433.4 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.502e-05/0.2675, allocations: 34.73 kB / 433.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.2676, allocations: 8.891 kB / 433.5 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.2679, allocations: 140.9 kB / 433.6 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.2679, allocations: 4.375 kB / 433.6 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.2679, allocations: 4.375 kB / 433.6 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000332/0.2683, allocations: 118.5 kB / 433.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.2683, allocations: 3.938 kB / 433.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.2683, allocations: 4 kB / 433.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.566e-05/0.2683, allocations: 0 / 433.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.2684, allocations: 39.84 kB / 433.8 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.2689, allocations: 329 kB / 434.1 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.2691, allocations: 79.78 kB / 434.2 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.814e-05/0.2691, allocations: 34.56 kB / 434.2 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.2692, allocations: 4 kB / 434.2 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.2692, allocations: 38.5 kB / 434.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.2692, allocations: 0 / 434.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003579/0.2696, allocations: 101.5 kB / 434.4 MB, free: 3.363 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.858e-05/0.2697, allocations: 106.8 kB / 434.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.2698, allocations: 137.8 kB / 434.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.2699, allocations: 29.7 kB / 434.6 MB, free: 3.055 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.125e-05/0.2699, allocations: 88.12 kB / 434.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.2699, allocations: 12.27 kB / 434.7 MB, free: 2.953 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.436e-05/0.27, allocations: 25.7 kB / 434.7 MB, free: 2.922 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.2702, allocations: 318.8 kB / 435.1 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.14e-05/0.2702, allocations: 15.98 kB / 435.1 MB, free: 2.586 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.876e-05/0.2703, allocations: 31.42 kB / 435.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.2704, allocations: 55.36 kB / 435.2 MB, free: 2.477 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2704, allocations: 0 / 435.2 MB, free: 2.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001844/0.2706, allocations: 77.56 kB / 435.2 MB, free: 2.395 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.2706, allocations: 4 kB / 435.2 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.2706, allocations: 0 / 435.2 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.2706, allocations: 8.125 kB / 435.2 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.31e-05/0.2707, allocations: 3.938 kB / 435.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.2707, allocations: 0 / 435.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.716e-05/0.2707, allocations: 4 kB / 435.2 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.2707, allocations: 4 kB / 435.3 MB, free: 2.371 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.0001231/0.2708, allocations: 125.8 kB / 435.4 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.193e-05/0.2709, allocations: 49.64 kB / 435.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.271, allocations: 11.92 kB / 435.4 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.271, allocations: 8.031 kB / 435.4 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.271, allocations: 0 / 435.4 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.271, allocations: 3.984 kB / 435.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.2712, allocations: 144.7 kB / 435.6 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.2712, allocations: 4 kB / 435.6 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.686e-06/0.2713, allocations: 3.938 kB / 435.6 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.2713, allocations: 3.938 kB / 435.6 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.2713, allocations: 4 kB / 435.6 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2713, allocations: 4 kB / 435.6 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2713, allocations: 0 / 435.6 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.2715, allocations: 259.6 kB / 435.9 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.2716, allocations: 15.94 kB / 435.9 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.2716, allocations: 4 kB / 435.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.783e-05/0.2717, allocations: 0 / 435.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.2717, allocations: 11.92 kB / 435.9 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.2717, allocations: 4 kB / 435.9 MB, free: 1.645 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.971e-05/0.2718, allocations: 105.8 kB / 436 MB, free: 1.543 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2718, allocations: 3.938 kB / 436 MB, free: 1.539 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.2721, allocations: 12 kB / 436 MB, free: 1.527 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.0006107/0.2727, allocations: 0.7867 MB / 436.8 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.2728, allocations: 39.91 kB / 436.8 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2728, allocations: 0 / 436.8 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.797e-05/0.2729, allocations: 15.94 kB / 436.9 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.2733, allocations: 38.69 kB / 436.9 MB, free: 0.625 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.275, allocations: 1.458 MB / 438.4 MB, free: 15.06 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.2754, allocations: 0.6885 MB / 439 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.715e-05/0.2754, allocations: 11.98 kB / 439.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.601e-05/0.2755, allocations: 11.44 kB / 439.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2755, allocations: 0 / 439.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03103/0.3065, allocations: 1.827 MB / 440.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.82, allocations: 3.625 kB / 440.9 MB, free: 12.61 MB / 350.1 MB " [Timeout remaining time 649] (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 --stepSize=3.99122e-05 --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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.154693084070459]