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.001335/0.001335, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001559/0.001559, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.978/1.978, allocations: 230.6 MB / 258.2 MB, free: 7.805 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: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 47.92 kB / 379 MB, free: 2.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3056, allocations: 53.36 MB / 432.3 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003174/0.3088, allocations: 1.532 MB / 433.9 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004418/0.3092, allocations: 143.4 kB / 434 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.73e-05/0.3093, allocations: 4 kB / 434 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.498e-05/0.3094, allocations: 7.875 kB / 434 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.147e-05/0.3095, allocations: 15.92 kB / 434 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.3097, allocations: 39.53 kB / 434.1 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.3099, allocations: 39.91 kB / 434.1 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.31, allocations: 11.98 kB / 434.1 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.695e-05/0.31, allocations: 15.94 kB / 434.1 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.209e-05/0.3101, allocations: 23.8 kB / 434.2 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.3101, allocations: 4 kB / 434.2 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.051e-05/0.3101, allocations: 0 / 434.2 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.593e-05/0.3101, allocations: 19.92 kB / 434.2 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.255e-05/0.3102, allocations: 15.88 kB / 434.2 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.3104, allocations: 63.53 kB / 434.3 MB, free: 4.832 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3104, allocations: 0 / 434.3 MB, free: 4.832 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3104, allocations: 0 / 434.3 MB, free: 4.832 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.3104, allocations: 0 / 434.3 MB, free: 4.832 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.0004513/0.3108, allocations: 295.9 kB / 434.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3109, allocations: 12.03 kB / 434.6 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.3109, allocations: 8.891 kB / 434.6 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.3112, allocations: 150.3 kB / 434.7 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.3112, allocations: 384 / 434.7 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.3112, allocations: 12.38 kB / 434.7 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.3115, allocations: 114.5 kB / 434.8 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.557e-06/0.3115, allocations: 192 / 434.8 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.3115, allocations: 3.938 kB / 434.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.512e-05/0.3116, allocations: 4 kB / 434.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.3117, allocations: 23.98 kB / 434.9 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000412/0.3121, allocations: 309.5 kB / 435.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.3122, allocations: 79.78 kB / 435.2 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.678e-05/0.3123, allocations: 34.56 kB / 435.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.3123, allocations: 4 kB / 435.3 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.3123, allocations: 38.48 kB / 435.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.3123, allocations: 0 / 435.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003335/0.3127, allocations: 97.48 kB / 435.4 MB, free: 3.508 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.447e-05/0.3127, allocations: 107.2 kB / 435.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.3129, allocations: 148.4 kB / 435.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.3129, allocations: 25.7 kB / 435.7 MB, free: 3.195 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.272e-05/0.313, allocations: 88.12 kB / 435.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/0.313, allocations: 7.953 kB / 435.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.313, allocations: 17.72 kB / 435.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3132, allocations: 318.8 kB / 436.1 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.018e-05/0.3132, allocations: 7.984 kB / 436.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.464e-05/0.3133, allocations: 39.42 kB / 436.2 MB, free: 2.695 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.3135, allocations: 55.36 kB / 436.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3135, allocations: 0 / 436.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002142/0.3137, allocations: 81.44 kB / 436.3 MB, free: 2.543 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3137, allocations: 4 kB / 436.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.3137, allocations: 4 kB / 436.3 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3137, allocations: 4 kB / 436.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.415e-05/0.3137, allocations: 8.109 kB / 436.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.3137, allocations: 0 / 436.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.183e-05/0.3138, allocations: 8 kB / 436.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.3138, allocations: 4 kB / 436.3 MB, free: 2.512 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.0001283/0.3139, allocations: 129.7 kB / 436.5 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.314, allocations: 45.59 kB / 436.5 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.224e-05/0.3141, allocations: 19.91 kB / 436.5 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/0.3141, allocations: 4 kB / 436.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3141, allocations: 0 / 436.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3141, allocations: 4.031 kB / 436.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.3143, allocations: 117.3 kB / 436.6 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.3144, allocations: 3.938 kB / 436.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.127e-05/0.3144, allocations: 7.984 kB / 436.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3144, allocations: 0 / 436.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.3144, allocations: 0 / 436.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3144, allocations: 0 / 436.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.3144, allocations: 4 kB / 436.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.3147, allocations: 255.6 kB / 436.9 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.3147, allocations: 19.95 kB / 436.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.3147, allocations: 11.98 kB / 436.9 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.3149, allocations: 0 / 436.9 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.3149, allocations: 11.98 kB / 436.9 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.3149, allocations: 0 / 436.9 MB, free: 1.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.261e-05/0.315, allocations: 106.1 kB / 437.1 MB, free: 1.719 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.315, allocations: 0 / 437.1 MB, free: 1.719 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003852/0.3154, allocations: 11.98 kB / 437.1 MB, free: 1.707 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.0001256/0.3155, allocations: 101.9 kB / 437.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.3157, allocations: 43.92 kB / 437.2 MB, free: 1.559 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3157, allocations: 3.938 kB / 437.2 MB, free: 1.555 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.867e-05/0.3158, allocations: 15.92 kB / 437.2 MB, free: 1.539 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00054/0.3163, allocations: 26.53 kB / 437.3 MB, free: 1.516 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004167/0.3167, allocations: 175.3 kB / 437.4 MB, free: 1.312 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.671e-05/0.3168, allocations: 75.8 kB / 437.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.18e-05/0.3169, allocations: 11.98 kB / 437.5 MB, free: 1.207 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.3169, allocations: 11.44 kB / 437.5 MB, free: 1.195 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3169, allocations: 0 / 437.5 MB, free: 1.195 MB / 334.1 MB Notification: Performance of Templates: time 0.003586/0.3205, allocations: 0.6855 MB / 438.2 MB, free: 0.5273 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] 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: 6.487809933998506]