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.0009852/0.0009852, allocations: 85.91 kB / 21.43 MB, free: 3.066 MB / 18.57 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.001079/0.001079, allocations: 166.2 kB / 24.82 MB, free: 9.25 MB / 18.57 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.105/1.105, allocations: 177 MB / 205.1 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 3.938 kB / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.193e-05, allocations: 5.266 kB / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.005371/0.005393, allocations: 1.584 MB / 274.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003426/0.005736, allocations: 151.4 kB / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.124e-05/0.005807, allocations: 7.938 kB / 275.1 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.588e-05/0.005903, allocations: 7.875 kB / 275.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.217e-05/0.005995, allocations: 11.92 kB / 275.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.006167, allocations: 31.84 kB / 275.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.477e-05/0.006262, allocations: 47.78 kB / 275.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.382e-05/0.006356, allocations: 15.98 kB / 275.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.555e-05/0.006401, allocations: 19.97 kB / 275.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.118e-05/0.006443, allocations: 19.92 kB / 275.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.006463, allocations: 4 kB / 275.2 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-06/0.006472, allocations: 0 / 275.2 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.33e-05/0.006516, allocations: 15.94 kB / 275.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.00654, allocations: 19.91 kB / 275.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.157e-05/0.006632, allocations: 35.84 kB / 275.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.006633, allocations: 0 / 275.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006635, allocations: 0 / 275.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.006638, allocations: 0 / 275.3 MB, free: 15.24 MB / 266.7 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.003374/0.01001, allocations: 408.2 kB / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.01005, allocations: 19.98 kB / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.01007, allocations: 12.83 kB / 275.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.01021, allocations: 147.9 kB / 275.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.01022, allocations: 384 / 275.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.01023, allocations: 8.375 kB / 275.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.0104, allocations: 125.3 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.0104, allocations: 192 / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-06/0.01041, allocations: 384 / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.219e-05/0.01043, allocations: 12.31 kB / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.801e-05/0.01045, allocations: 11.88 kB / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002543/0.0107, allocations: 391 kB / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.599e-05/0.01077, allocations: 81.25 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.301e-05/0.01079, allocations: 23.06 kB / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.0108, allocations: 8 kB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.01082, allocations: 37.39 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.01083, allocations: 4 kB / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001489/0.01097, allocations: 65.5 kB / 276.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.01102, allocations: 106.8 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.873e-05/0.01112, allocations: 197.9 kB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.01113, allocations: 25.7 kB / 276.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.01117, allocations: 138.9 kB / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.025e-06/0.01118, allocations: 3.953 kB / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.01122, allocations: 23.38 kB / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.01133, allocations: 0.4923 MB / 277.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.374e-06/0.01134, allocations: 384 / 277.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.903e-05/0.01136, allocations: 19.38 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.482e-05/0.01138, allocations: 23.38 kB / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01138, allocations: 0 / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.803e-05/0.01144, allocations: 53.56 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.01145, allocations: 7.125 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.01146, allocations: 4 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.01147, allocations: 3.938 kB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.238e-05/0.01151, allocations: 8.125 kB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.01151, allocations: 0 / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.18e-05/0.01154, allocations: 7.984 kB / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.01154, allocations: 0 / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u[2],sample1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.046e-05/0.01161, allocations: 164.5 kB / 277.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.635e-05/0.01167, allocations: 37.66 kB / 277.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.638e-05/0.01169, allocations: 15.95 kB / 277.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.0117, allocations: 3.938 kB / 277.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.01171, allocations: 7.938 kB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.01171, allocations: 4.031 kB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.01188, allocations: 113.2 kB / 278.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01188, allocations: 0 / 278.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.789e-05/0.0119, allocations: 8 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.0119, allocations: 0 / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-06/0.0119, allocations: 0 / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.0119, allocations: 4 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.0119, allocations: 3.938 kB / 278.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.01203, allocations: 318.7 kB / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.774e-05/0.01205, allocations: 19.94 kB / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.897e-06/0.01206, allocations: 4.031 kB / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.954e-05/0.01214, allocations: 4 kB / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/0.01217, allocations: 3.938 kB / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.01217, allocations: 0 / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.612e-05/0.01223, allocations: 154.6 kB / 278.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01223, allocations: 0 / 278.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002389/0.01247, allocations: 4 kB / 278.6 MB, free: 11.61 MB / 266.7 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 7.221e-05/0.01254, allocations: 103.1 kB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.148e-05/0.0126, allocations: 23.67 kB / 278.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.0126, allocations: 0 / 278.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.651e-05/0.01262, allocations: 15.62 kB / 278.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003358/0.01597, allocations: 24.52 kB / 278.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004644/0.01644, allocations: 188.6 kB / 278.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.481e-05/0.01648, allocations: 59.34 kB / 279 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.695e-05/0.0165, allocations: 4 kB / 279 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.01e-05/0.01655, allocations: 74.55 kB / 279 MB, free: 11.05 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01655, allocations: 4 kB / 279.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of Templates: time 0.005252/0.0218, allocations: 0.7318 MB / 279.8 MB, free: 10.33 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8193091079592705]