Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001238/0.001238, 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 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.001406/0.001406, allocations: 214 kB / 23.73 MB, free: 4.16 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.443/1.443, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 47.94 kB / 377.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.253, allocations: 53.37 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002675/0.2557, allocations: 1.545 MB / 432.6 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003808/0.2561, allocations: 151.4 kB / 432.8 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.913e-05/0.2561, allocations: 7.938 kB / 432.8 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.02e-05/0.2562, allocations: 3.938 kB / 432.8 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.571e-05/0.2563, allocations: 19.86 kB / 432.8 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.2565, allocations: 31.91 kB / 432.8 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.2566, allocations: 43.84 kB / 432.9 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.212e-05/0.2567, allocations: 12 kB / 432.9 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.974e-05/0.2567, allocations: 19.91 kB / 432.9 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.665e-05/0.2568, allocations: 15.86 kB / 432.9 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.2568, allocations: 4 kB / 432.9 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.368e-05/0.2568, allocations: 4 kB / 432.9 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.901e-05/0.2569, allocations: 15.94 kB / 432.9 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.2569, allocations: 27.86 kB / 433 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.257, allocations: 57.38 kB / 433 MB, free: 4.668 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.257, allocations: 4 kB / 433 MB, free: 4.664 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.257, allocations: 0 / 433 MB, free: 4.664 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.257, allocations: 0 / 433 MB, free: 4.664 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.0004485/0.2575, allocations: 313.8 kB / 433.3 MB, free: 4.324 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.2575, allocations: 12.03 kB / 433.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.321e-05/0.2575, allocations: 30.75 kB / 433.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.521e-05/0.2576, allocations: 8.891 kB / 433.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.2578, allocations: 146.3 kB / 433.5 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.2578, allocations: 384 / 433.5 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.2578, allocations: 8.375 kB / 433.5 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.2581, allocations: 122.4 kB / 433.7 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2582, allocations: 3.938 kB / 433.7 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.313e-06/0.2582, allocations: 0 / 433.7 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.2582, allocations: 4 kB / 433.7 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.2583, allocations: 39.91 kB / 433.7 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/0.2587, allocations: 337 kB / 434 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.2589, allocations: 79.78 kB / 434.1 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.049e-05/0.259, allocations: 34.56 kB / 434.1 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.259, allocations: 7.984 kB / 434.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.259, allocations: 34.56 kB / 434.2 MB, free: 3.324 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.259, allocations: 4 kB / 434.2 MB, free: 3.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003154/0.2593, allocations: 105.5 kB / 434.3 MB, free: 3.211 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/0.2594, allocations: 110.7 kB / 434.4 MB, free: 3.078 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.2595, allocations: 145.8 kB / 434.5 MB, free: 2.926 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.2595, allocations: 25.7 kB / 434.6 MB, free: 2.895 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/0.2596, allocations: 92.12 kB / 434.7 MB, free: 2.801 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.189e-05/0.2596, allocations: 7.938 kB / 434.7 MB, free: 2.793 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.2596, allocations: 22.09 kB / 434.7 MB, free: 2.766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.2598, allocations: 326.8 kB / 435 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.057e-05/0.2598, allocations: 15.98 kB / 435 MB, free: 2.422 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.939e-05/0.2599, allocations: 39.42 kB / 435.1 MB, free: 2.371 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.26, allocations: 63.28 kB / 435.1 MB, free: 2.297 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.26, allocations: 4 kB / 435.1 MB, free: 2.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001708/0.2602, allocations: 85.55 kB / 435.2 MB, free: 2.203 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.2602, allocations: 4 kB / 435.2 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.2602, allocations: 4 kB / 435.2 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.2602, allocations: 0 / 435.2 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.162e-05/0.2603, allocations: 11.94 kB / 435.2 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.2603, allocations: 11.98 kB / 435.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.033e-05/0.2604, allocations: 8.125 kB / 435.3 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.2604, allocations: 0 / 435.3 MB, free: 2.164 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[2],sample1.u[1],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.0001108/0.2605, allocations: 125.8 kB / 435.4 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.534e-05/0.2606, allocations: 49.66 kB / 435.4 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.18e-05/0.2606, allocations: 15.91 kB / 435.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.2606, allocations: 0 / 435.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.2606, allocations: 4 kB / 435.4 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.2606, allocations: 0 / 435.4 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.2609, allocations: 144.7 kB / 435.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.2609, allocations: 4.031 kB / 435.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.473e-05/0.2609, allocations: 15.94 kB / 435.6 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2609, allocations: 0 / 435.6 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.2609, allocations: 3.984 kB / 435.6 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2609, allocations: 4 kB / 435.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2609, allocations: 0 / 435.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.2612, allocations: 267.6 kB / 435.9 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.641e-05/0.2612, allocations: 11.95 kB / 435.9 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.2612, allocations: 3.984 kB / 435.9 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-05/0.2613, allocations: 8 kB / 435.9 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.2614, allocations: 7.938 kB / 435.9 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.2614, allocations: 0 / 435.9 MB, free: 1.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.404e-05/0.2614, allocations: 118 kB / 436 MB, free: 1.316 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2614, allocations: 0 / 436 MB, free: 1.316 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.2617, allocations: 7.938 kB / 436 MB, free: 1.309 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[2],sample1.u[1],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.0005656/0.2623, allocations: 0.8023 MB / 436.8 MB, free: 488 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001758/0.2624, allocations: 51.84 kB / 436.9 MB, free: 436 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.2624, allocations: 0 / 436.9 MB, free: 436 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.988e-05/0.2625, allocations: 19.92 kB / 436.9 MB, free: 416 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.2629, allocations: 24.02 kB / 436.9 MB, free: 392 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.2646, allocations: 1.49 MB / 438.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.524e-05/0.2647, allocations: 75.33 kB / 438.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.379e-05/0.2647, allocations: 7.984 kB / 438.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.119e-05/0.2648, allocations: 23.42 kB / 438.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of SimCode: time 7.51e-07/0.2648, allocations: 0 / 438.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02896/0.2937, allocations: 2.267 MB / 440.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.93, allocations: 7.188 kB / 440.8 MB, free: 12.53 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.310965462122113]