Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001472/0.001472, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001639/0.001639, allocations: 207.5 kB / 23.72 MB, free: 4.391 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.461/1.461, allocations: 230.5 MB / 257.4 MB, free: 7.73 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.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 63.83 kB / 377.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2982, allocations: 53.41 MB / 431.1 MB, free: 6.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002947/0.3011, allocations: 1.542 MB / 432.7 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003987/0.3015, allocations: 147.4 kB / 432.8 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.578e-05/0.3016, allocations: 0 / 432.8 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.692e-05/0.3017, allocations: 15.86 kB / 432.8 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.683e-05/0.3018, allocations: 7.938 kB / 432.8 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.302, allocations: 39.89 kB / 432.9 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.3021, allocations: 43.8 kB / 432.9 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.3022, allocations: 11.98 kB / 432.9 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.319e-05/0.3023, allocations: 15.92 kB / 433 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.044e-05/0.3023, allocations: 23.86 kB / 433 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.3023, allocations: 0 / 433 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.385e-05/0.3024, allocations: 4 kB / 433 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.632e-05/0.3024, allocations: 23.92 kB / 433 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/0.3025, allocations: 15.88 kB / 433 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.3026, allocations: 64.09 kB / 433.1 MB, free: 4.469 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3026, allocations: 0 / 433.1 MB, free: 4.469 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3026, allocations: 0 / 433.1 MB, free: 4.469 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.3026, allocations: 0 / 433.1 MB, free: 4.469 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.0004581/0.3031, allocations: 302 kB / 433.4 MB, free: 4.141 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.3031, allocations: 19.92 kB / 433.4 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.819e-05/0.3031, allocations: 38.73 kB / 433.4 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.619e-05/0.3032, allocations: 8.891 kB / 433.4 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.3034, allocations: 149 kB / 433.6 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.3034, allocations: 4.375 kB / 433.6 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.3034, allocations: 384 / 433.6 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.3037, allocations: 126.4 kB / 433.7 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3037, allocations: 3.938 kB / 433.7 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.3037, allocations: 3.938 kB / 433.7 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/0.3038, allocations: 4 kB / 433.7 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.3039, allocations: 39.91 kB / 433.8 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004264/0.3043, allocations: 333 kB / 434.1 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.3045, allocations: 79.77 kB / 434.2 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.693e-05/0.3045, allocations: 34.62 kB / 434.2 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.3046, allocations: 4 kB / 434.2 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.3046, allocations: 34.5 kB / 434.2 MB, free: 3.129 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3046, allocations: 0 / 434.2 MB, free: 3.129 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003297/0.3049, allocations: 109.5 kB / 434.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.015e-05/0.305, allocations: 114.8 kB / 434.5 MB, free: 2.879 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.3051, allocations: 141.8 kB / 434.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.3052, allocations: 29.7 kB / 434.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.196e-05/0.3052, allocations: 88.14 kB / 434.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.356e-05/0.3052, allocations: 11.89 kB / 434.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/0.3053, allocations: 22.08 kB / 434.7 MB, free: 2.566 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3054, allocations: 318.8 kB / 435.1 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.402e-05/0.3055, allocations: 19.98 kB / 435.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.15e-05/0.3056, allocations: 39.42 kB / 435.1 MB, free: 2.176 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.3057, allocations: 67.22 kB / 435.2 MB, free: 2.098 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3057, allocations: 0 / 435.2 MB, free: 2.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001711/0.3059, allocations: 85.55 kB / 435.3 MB, free: 2.008 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.3059, allocations: 8 kB / 435.3 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.3059, allocations: 0 / 435.3 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3059, allocations: 0 / 435.3 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.299e-05/0.306, allocations: 11.98 kB / 435.3 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.306, allocations: 4 kB / 435.3 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.381e-05/0.306, allocations: 7.938 kB / 435.3 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.3061, allocations: 4.125 kB / 435.3 MB, free: 1.973 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.0001086/0.3062, allocations: 125.8 kB / 435.4 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.175e-05/0.3063, allocations: 53.64 kB / 435.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.282e-05/0.3063, allocations: 15.92 kB / 435.5 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.3063, allocations: 4 kB / 435.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3063, allocations: 0 / 435.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3063, allocations: 3.984 kB / 435.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.3065, allocations: 140.7 kB / 435.6 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3065, allocations: 4 kB / 435.6 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.369e-05/0.3066, allocations: 12.02 kB / 435.7 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3066, allocations: 0 / 435.7 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.3066, allocations: 4.094 kB / 435.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.3066, allocations: 3.938 kB / 435.7 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3066, allocations: 0 / 435.7 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.3068, allocations: 275.5 kB / 435.9 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.692e-05/0.3069, allocations: 11.94 kB / 435.9 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.3069, allocations: 4 kB / 435.9 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.768e-05/0.307, allocations: 8 kB / 436 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.307, allocations: 7.984 kB / 436 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.307, allocations: 0 / 436 MB, free: 1.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.997e-05/0.3071, allocations: 114 kB / 436.1 MB, free: 1.121 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3071, allocations: 0 / 436.1 MB, free: 1.121 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002898/0.3074, allocations: 7.938 kB / 436.1 MB, free: 1.113 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.0006585/0.3081, allocations: 0.8023 MB / 436.9 MB, free: 288 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.3083, allocations: 51.91 kB / 436.9 MB, free: 236 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3083, allocations: 0 / 436.9 MB, free: 236 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.938e-05/0.3083, allocations: 11.98 kB / 436.9 MB, free: 224 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.3087, allocations: 39.44 kB / 437 MB, free: 188 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.3104, allocations: 1.496 MB / 438.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.894e-05/0.3105, allocations: 79.33 kB / 438.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.513e-05/0.3106, allocations: 11.98 kB / 438.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.739e-05/0.3106, allocations: 15.44 kB / 438.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3106, allocations: 0 / 438.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02881/0.3394, allocations: 2.258 MB / 440.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.08, allocations: 6.906 kB / 440.8 MB, free: 12.31 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.526957382913679]