Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002514/0.002514, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 47.92 kB / 368.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2906, allocations: 52.14 MB / 420.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003288/0.2939, allocations: 1.557 MB / 422.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004145/0.2943, allocations: 147.5 kB / 422.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.844e-05/0.2944, allocations: 3.938 kB / 422.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.2945, allocations: 7.922 kB / 422.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.2946, allocations: 7.938 kB / 422.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.2949, allocations: 43.83 kB / 422.6 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.295, allocations: 35.92 kB / 422.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.2951, allocations: 11.98 kB / 422.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.545e-05/0.2952, allocations: 23.84 kB / 422.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.53e-05/0.2952, allocations: 15.94 kB / 422.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.2953, allocations: 0 / 422.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.147e-05/0.2953, allocations: 8 kB / 422.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.637e-05/0.2953, allocations: 19.92 kB / 422.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.686e-05/0.2954, allocations: 35.73 kB / 422.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.2955, allocations: 51.41 kB / 422.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2955, allocations: 0 / 422.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2955, allocations: 0 / 422.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.2955, allocations: 4 kB / 422.8 MB, free: 13.13 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.000577/0.2961, allocations: 384.6 kB / 423.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.2961, allocations: 8.031 kB / 423.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.2962, allocations: 20.84 kB / 423.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.2965, allocations: 192.2 kB / 423.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.2965, allocations: 4.375 kB / 423.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.2965, allocations: 8.359 kB / 423.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.2968, allocations: 126.4 kB / 423.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.2968, allocations: 192 / 423.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.2968, allocations: 7.875 kB / 423.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.2968, allocations: 7.984 kB / 423.6 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.297, allocations: 35.91 kB / 423.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004492/0.2974, allocations: 369.8 kB / 424 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.2975, allocations: 79.78 kB / 424 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.54e-05/0.2976, allocations: 42.55 kB / 424.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.2976, allocations: 8 kB / 424.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.2977, allocations: 30.56 kB / 424.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.2977, allocations: 0 / 424.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003396/0.298, allocations: 105.9 kB / 424.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.902e-05/0.2981, allocations: 110.8 kB / 424.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.2982, allocations: 144.8 kB / 424.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.2982, allocations: 25.7 kB / 424.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.131e-05/0.2983, allocations: 100 kB / 424.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/0.2983, allocations: 4 kB / 424.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.2984, allocations: 17.67 kB / 424.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.2985, allocations: 322.8 kB / 424.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.429e-05/0.2986, allocations: 19.98 kB / 425 MB, free: 10.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.912e-05/0.2986, allocations: 35.42 kB / 425 MB, free: 10.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.2988, allocations: 67.34 kB / 425.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.2988, allocations: 7.938 kB / 425.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001728/0.2989, allocations: 77.59 kB / 425.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.299, allocations: 8 kB / 425.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.299, allocations: 0 / 425.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.299, allocations: 0 / 425.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.2991, allocations: 20.05 kB / 425.2 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.2992, allocations: 4 kB / 425.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.039e-05/0.2992, allocations: 4 kB / 425.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.2992, allocations: 0 / 425.2 MB, free: 10.48 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.0001245/0.2993, allocations: 125.8 kB / 425.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.65e-05/0.2994, allocations: 57.59 kB / 425.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.416e-05/0.2995, allocations: 11.86 kB / 425.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.2995, allocations: 4.094 kB / 425.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.2995, allocations: 8.031 kB / 425.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2995, allocations: 7.922 kB / 425.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002885/0.2998, allocations: 173.6 kB / 425.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.2998, allocations: 3.984 kB / 425.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.394e-05/0.2998, allocations: 8 kB / 425.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2998, allocations: 0 / 425.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.2998, allocations: 0 / 425.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.2998, allocations: 4 kB / 425.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2998, allocations: 0 / 425.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.3001, allocations: 271.5 kB / 425.8 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-05/0.3002, allocations: 89.05 kB / 425.9 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.3002, allocations: 7.938 kB / 425.9 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.622e-05/0.3003, allocations: 3.984 kB / 425.9 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.3003, allocations: 12 kB / 425.9 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.3003, allocations: 0 / 425.9 MB, free: 9.602 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.3005, allocations: 115.2 kB / 426.1 MB, free: 9.488 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3005, allocations: 0 / 426.1 MB, free: 9.488 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.3007, allocations: 4 kB / 426.1 MB, free: 9.484 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.0001177/0.3008, allocations: 99.25 kB / 426.2 MB, free: 9.379 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.3011, allocations: 56.02 kB / 426.2 MB, free: 9.324 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3011, allocations: 0 / 426.2 MB, free: 9.324 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.907e-05/0.3011, allocations: 15.98 kB / 426.2 MB, free: 9.309 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.3015, allocations: 23.95 kB / 426.3 MB, free: 9.285 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003743/0.3019, allocations: 190.9 kB / 426.4 MB, free: 9.066 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.3022, allocations: 0.6966 MB / 427.1 MB, free: 8.344 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.806e-05/0.3023, allocations: 7.984 kB / 427.1 MB, free: 8.336 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.3023, allocations: 11.44 kB / 427.2 MB, free: 8.324 MB / 334.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3023, allocations: 0 / 427.2 MB, free: 8.324 MB / 334.1 MB Notification: Performance of Templates: time 0.003273/0.3056, allocations: 0.6378 MB / 427.8 MB, free: 7.703 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 5.089452713727951]