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.001278/0.001278, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.001414/0.001414, allocations: 211.5 kB / 23.73 MB, free: 4.523 MB / 14.72 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 1.387/1.387, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001537/0.001537, allocations: 47.92 kB / 377.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2455, allocations: 53.36 MB / 431.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002934/0.2485, allocations: 1.542 MB / 432.6 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003781/0.2488, allocations: 139.5 kB / 432.8 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.706e-05/0.2489, allocations: 3.938 kB / 432.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.169e-05/0.249, allocations: 11.92 kB / 432.8 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.109e-05/0.2491, allocations: 3.938 kB / 432.8 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.2493, allocations: 39.89 kB / 432.8 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.2494, allocations: 39.86 kB / 432.9 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.2495, allocations: 19.91 kB / 432.9 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.354e-05/0.2496, allocations: 15.88 kB / 432.9 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.059e-05/0.2496, allocations: 23.86 kB / 432.9 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.2496, allocations: 4 kB / 432.9 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.128e-05/0.2496, allocations: 4 kB / 432.9 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.529e-05/0.2497, allocations: 11.98 kB / 432.9 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.899e-05/0.2497, allocations: 23.81 kB / 433 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.2498, allocations: 51.59 kB / 433 MB, free: 4.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2498, allocations: 0 / 433 MB, free: 4.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2498, allocations: 0 / 433 MB, free: 4.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.2498, allocations: 0 / 433 MB, free: 4.73 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.000473/0.2503, allocations: 306.6 kB / 433.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.2504, allocations: 12.03 kB / 433.3 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.07e-05/0.2504, allocations: 34.75 kB / 433.3 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.2504, allocations: 8.891 kB / 433.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.2507, allocations: 146.3 kB / 433.5 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.2507, allocations: 384 / 433.5 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.2507, allocations: 4.375 kB / 433.5 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.251, allocations: 118.5 kB / 433.6 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.251, allocations: 7.938 kB / 433.6 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.251, allocations: 0 / 433.6 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/0.251, allocations: 4 kB / 433.6 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.331e-05/0.2511, allocations: 27.92 kB / 433.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.2515, allocations: 329 kB / 434 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.2517, allocations: 75.78 kB / 434.1 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.189e-05/0.2517, allocations: 30.62 kB / 434.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.2517, allocations: 4 kB / 434.1 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.2518, allocations: 38.5 kB / 434.1 MB, free: 3.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.2518, allocations: 4 kB / 434.1 MB, free: 3.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002939/0.2521, allocations: 93.55 kB / 434.2 MB, free: 3.328 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.435e-05/0.2521, allocations: 106.8 kB / 434.3 MB, free: 3.199 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.2523, allocations: 140.3 kB / 434.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.2523, allocations: 25.7 kB / 434.5 MB, free: 3.023 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/0.2523, allocations: 92.12 kB / 434.6 MB, free: 2.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.266e-05/0.2524, allocations: 8.266 kB / 434.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.2524, allocations: 21.72 kB / 434.6 MB, free: 2.895 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002209/0.2526, allocations: 330.7 kB / 434.9 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.556e-05/0.2527, allocations: 11.98 kB / 434.9 MB, free: 2.551 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.665e-05/0.2527, allocations: 39.31 kB / 435 MB, free: 2.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.789e-05/0.2528, allocations: 55.34 kB / 435 MB, free: 2.434 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2528, allocations: 4 kB / 435 MB, free: 2.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001506/0.253, allocations: 77.56 kB / 435.1 MB, free: 2.348 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.253, allocations: 4 kB / 435.1 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.253, allocations: 4 kB / 435.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.253, allocations: 0 / 435.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.734e-05/0.253, allocations: 0 / 435.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.253, allocations: 4 kB / 435.1 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.279e-05/0.2531, allocations: 0 / 435.1 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.2531, allocations: 4 kB / 435.1 MB, free: 2.332 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.0001192/0.2532, allocations: 133.8 kB / 435.3 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.944e-05/0.2533, allocations: 53.72 kB / 435.3 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.534e-05/0.2533, allocations: 11.92 kB / 435.3 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.2533, allocations: 4 kB / 435.3 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2533, allocations: 0 / 435.3 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2533, allocations: 4 kB / 435.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.2536, allocations: 144.7 kB / 435.5 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.2536, allocations: 4 kB / 435.5 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.46e-06/0.2536, allocations: 0 / 435.5 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2536, allocations: 4.031 kB / 435.5 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.2536, allocations: 4 kB / 435.5 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.2536, allocations: 0 / 435.5 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2536, allocations: 0 / 435.5 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.2538, allocations: 263.5 kB / 435.7 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.532e-05/0.2539, allocations: 15.95 kB / 435.8 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.2539, allocations: 3.984 kB / 435.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.976e-05/0.254, allocations: 4 kB / 435.8 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.254, allocations: 0 / 435.8 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.254, allocations: 4 kB / 435.8 MB, free: 1.609 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.115e-05/0.2541, allocations: 111.2 kB / 435.9 MB, free: 1.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2541, allocations: 0 / 435.9 MB, free: 1.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.2543, allocations: 4 kB / 435.9 MB, free: 1.496 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.0005534/0.2549, allocations: 0.7906 MB / 436.7 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001362/0.255, allocations: 43.86 kB / 436.7 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.255, allocations: 256 / 436.7 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.07e-05/0.2551, allocations: 15.98 kB / 436.7 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.2555, allocations: 31.94 kB / 436.8 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.257, allocations: 1.454 MB / 438.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.794e-05/0.2571, allocations: 79.53 kB / 438.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.1e-05/0.2571, allocations: 8 kB / 438.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.65e-05/0.2572, allocations: 19.42 kB / 438.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2572, allocations: 0 / 438.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02855/0.2857, allocations: 2.283 MB / 440.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/10.61, allocations: 0 / 440.6 MB, free: 12.76 MB / 350.1 MB " [Timeout remaining time 649] (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/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_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] Reference file matches [Calling sys.exit(0), Time elapsed: 12.916000878001796]