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.001464/0.001464, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001597/0.001597, allocations: 213 kB / 23.73 MB, free: 4.164 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.484/1.484, allocations: 230.5 MB / 257.4 MB, free: 7.77 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.002972/0.002972, allocations: 67.89 kB / 377.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.297, allocations: 53.4 MB / 431.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003756/0.3007, allocations: 1.545 MB / 432.7 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000467/0.3012, allocations: 139.5 kB / 432.8 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.3013, allocations: 7.938 kB / 432.8 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.3014, allocations: 3.938 kB / 432.8 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.3016, allocations: 7.922 kB / 432.8 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.3019, allocations: 43.84 kB / 432.9 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.302, allocations: 39.84 kB / 432.9 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.3021, allocations: 12 kB / 432.9 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.217e-05/0.3022, allocations: 19.92 kB / 432.9 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.208e-05/0.3022, allocations: 19.91 kB / 433 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.3023, allocations: 4 kB / 433 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.469e-05/0.3023, allocations: 0 / 433 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.736e-05/0.3024, allocations: 15.94 kB / 433 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.342e-05/0.3024, allocations: 19.86 kB / 433 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.3026, allocations: 55.55 kB / 433.1 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.3026, allocations: 0 / 433.1 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3026, allocations: 0 / 433.1 MB, free: 4.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.3026, allocations: 0 / 433.1 MB, free: 4.523 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.0006162/0.3032, allocations: 302.6 kB / 433.4 MB, free: 4.199 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.3033, allocations: 15.98 kB / 433.4 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.993e-05/0.3033, allocations: 38.73 kB / 433.4 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.3033, allocations: 8.891 kB / 433.4 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.3037, allocations: 138.3 kB / 433.6 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.3037, allocations: 384 / 433.6 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.3037, allocations: 4.375 kB / 433.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.304, allocations: 126.4 kB / 433.7 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.304, allocations: 3.938 kB / 433.7 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.304, allocations: 0 / 433.7 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.304, allocations: 4 kB / 433.7 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.464e-05/0.3041, allocations: 31.91 kB / 433.7 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004368/0.3046, allocations: 329 kB / 434 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.3047, allocations: 75.78 kB / 434.1 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.593e-05/0.3048, allocations: 42.56 kB / 434.2 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.3048, allocations: 0 / 434.2 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.3048, allocations: 34.56 kB / 434.2 MB, free: 3.215 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3048, allocations: 3.938 kB / 434.2 MB, free: 3.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002942/0.3051, allocations: 89.56 kB / 434.3 MB, free: 3.117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.456e-05/0.3052, allocations: 110.7 kB / 434.4 MB, free: 2.984 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.3053, allocations: 140.6 kB / 434.5 MB, free: 2.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.3053, allocations: 26.08 kB / 434.6 MB, free: 2.809 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.216e-05/0.3054, allocations: 92.14 kB / 434.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.329e-05/0.3054, allocations: 7.891 kB / 434.7 MB, free: 2.707 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.3054, allocations: 25.7 kB / 434.7 MB, free: 2.676 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3056, allocations: 318.8 kB / 435 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.444e-05/0.3056, allocations: 11.98 kB / 435 MB, free: 2.344 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.683e-05/0.3057, allocations: 35.42 kB / 435 MB, free: 2.297 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.646e-05/0.3058, allocations: 55.36 kB / 435.1 MB, free: 2.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3058, allocations: 0 / 435.1 MB, free: 2.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001357/0.3059, allocations: 73.56 kB / 435.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.3059, allocations: 8 kB / 435.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.3059, allocations: 0 / 435.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3059, allocations: 0 / 435.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.102e-05/0.306, allocations: 7.938 kB / 435.2 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.306, allocations: 3.938 kB / 435.2 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.862e-05/0.306, allocations: 12.11 kB / 435.2 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.306, allocations: 0 / 435.2 MB, free: 2.121 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.0001106/0.3061, allocations: 121.8 kB / 435.3 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.66e-05/0.3062, allocations: 53.64 kB / 435.4 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.924e-05/0.3062, allocations: 15.92 kB / 435.4 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.3063, allocations: 3.984 kB / 435.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.3063, allocations: 8 kB / 435.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3063, allocations: 0 / 435.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.3065, allocations: 144.7 kB / 435.5 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3065, allocations: 3.938 kB / 435.5 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.043e-05/0.3065, allocations: 12.02 kB / 435.5 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3065, allocations: 96 / 435.5 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.3065, allocations: 0 / 435.5 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3065, allocations: 0 / 435.5 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.3065, allocations: 7.984 kB / 435.6 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.3067, allocations: 255.6 kB / 435.8 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.788e-05/0.3068, allocations: 11.94 kB / 435.8 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.3068, allocations: 4 kB / 435.8 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.711e-05/0.3069, allocations: 0 / 435.8 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.3069, allocations: 19.92 kB / 435.8 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.3069, allocations: 0 / 435.8 MB, free: 1.391 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.711e-05/0.307, allocations: 103.3 kB / 435.9 MB, free: 1.289 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.307, allocations: 0 / 435.9 MB, free: 1.289 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.3073, allocations: 11.94 kB / 436 MB, free: 1.277 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.0005889/0.3078, allocations: 0.7867 MB / 436.7 MB, free: 472 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001677/0.308, allocations: 44.03 kB / 436.8 MB, free: 428 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.308, allocations: 0 / 436.8 MB, free: 428 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.17e-05/0.3081, allocations: 11.94 kB / 436.8 MB, free: 416 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.3085, allocations: 30.33 kB / 436.8 MB, free: 392 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.31, allocations: 1.458 MB / 438.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.282e-05/0.3101, allocations: 79.67 kB / 438.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.877e-05/0.3101, allocations: 11.98 kB / 438.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.556e-05/0.3102, allocations: 11.44 kB / 438.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3102, allocations: 3.938 kB / 438.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02984/0.34, allocations: 2.265 MB / 440.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.04, allocations: 2.953 kB / 440.7 MB, free: 12.55 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.495097961742431]