Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.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.0008713/0.0008713, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008486/0.0008486, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8797/0.8797, allocations: 177.1 MB / 204.3 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.78e-05/1.961e-05, allocations: 2.281 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001485/0.001504, allocations: 0.9106 MB / 325.5 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003521/0.001857, allocations: 143.5 kB / 325.6 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.112e-05/0.001948, allocations: 3.938 kB / 325.6 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.002057, allocations: 11.86 kB / 325.6 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.565e-05/0.002152, allocations: 11.92 kB / 325.6 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.002378, allocations: 51.81 kB / 325.7 MB, free: 14.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.002497, allocations: 67.78 kB / 325.8 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.002615, allocations: 24.22 kB / 325.8 MB, free: 14.72 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.099e-05/0.002666, allocations: 43.89 kB / 325.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.541e-05/0.002701, allocations: 19.91 kB / 325.9 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.002728, allocations: 8 kB / 325.9 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.141e-05/0.002739, allocations: 4 kB / 325.9 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.622e-05/0.002816, allocations: 27.91 kB / 325.9 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.51e-05/0.002851, allocations: 19.92 kB / 325.9 MB, free: 14.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.002973, allocations: 91.61 kB / 326 MB, free: 14.51 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.135e-06/0.002975, allocations: 0 / 326 MB, free: 14.51 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.002976, allocations: 0 / 326 MB, free: 14.51 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.00298, allocations: 0 / 326 MB, free: 14.51 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003201/0.0033, allocations: 314 kB / 326.3 MB, free: 14.17 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.003338, allocations: 8.031 kB / 326.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.403e-05/0.003372, allocations: 46.73 kB / 326.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.297e-05/0.003395, allocations: 8.891 kB / 326.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.003571, allocations: 153.5 kB / 326.5 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.003581, allocations: 8.375 kB / 326.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.003592, allocations: 4.375 kB / 326.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.003887, allocations: 231.7 kB / 326.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.003894, allocations: 192 / 326.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.003902, allocations: 384 / 326.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.00391, allocations: 8.125 kB / 326.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.184e-05/0.003962, allocations: 35.98 kB / 326.8 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001138/0.004076, allocations: 152.6 kB / 326.9 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.004239, allocations: 118.7 kB / 327.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.466e-05/0.004313, allocations: 71.92 kB / 327.1 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.004323, allocations: 8 kB / 327.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.004344, allocations: 34.56 kB / 327.2 MB, free: 13.19 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 8.82e-07/0.004345, allocations: 0 / 327.2 MB, free: 13.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002112/0.004556, allocations: 153.5 kB / 327.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.004604, allocations: 67.33 kB / 327.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.8e-05/0.004692, allocations: 144.8 kB / 327.5 MB, free: 12.81 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.004704, allocations: 29.7 kB / 327.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/0.004737, allocations: 88.45 kB / 327.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.263e-05/0.00475, allocations: 0 / 327.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.004779, allocations: 25.67 kB / 327.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.593e-05/0.004855, allocations: 326.8 kB / 328 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.08e-05/0.004865, allocations: 0 / 328 MB, free: 12.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.637e-05/0.004882, allocations: 21.72 kB / 328 MB, free: 12.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.062e-05/0.004912, allocations: 25.64 kB / 328 MB, free: 12.26 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.004915, allocations: 4 kB / 328 MB, free: 12.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.952e-05/0.004965, allocations: 49.7 kB / 328.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.004977, allocations: 4 kB / 328.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.004982, allocations: 0 / 328.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.004995, allocations: 8 kB / 328.1 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.255e-05/0.005008, allocations: 11.92 kB / 328.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.005013, allocations: 0 / 328.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.07e-05/0.005024, allocations: 0 / 328.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.005031, allocations: 0 / 328.1 MB, free: 12.18 MB / 298.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: 4 ($CLKPRE.unitDelay2.u,unitDelay2.u,$CLKPRE.unitDelay1.u,unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * 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 7.06e-05/0.005102, allocations: 117.8 kB / 328.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.556e-05/0.005197, allocations: 128.3 kB / 328.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.164e-05/0.005229, allocations: 25.11 kB / 328.4 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.005232, allocations: 3.938 kB / 328.4 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.005236, allocations: 0 / 328.4 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.005238, allocations: 0 / 328.4 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.495e-05/0.005303, allocations: 148.7 kB / 328.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.005304, allocations: 3.938 kB / 328.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.764e-06/0.005312, allocations: 3.938 kB / 328.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.005315, allocations: 8 kB / 328.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.005322, allocations: 4 kB / 328.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.005325, allocations: 3.938 kB / 328.6 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.21e-07/0.005325, allocations: 0 / 328.6 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.005439, allocations: 149 kB / 328.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.794e-05/0.005477, allocations: 31.86 kB / 328.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.005492, allocations: 4 kB / 328.7 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.427e-05/0.005507, allocations: 15.88 kB / 328.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.034e-06/0.005509, allocations: 0 / 328.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.005513, allocations: 4 kB / 328.8 MB, free: 11.47 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.793e-05/0.005561, allocations: 111.2 kB / 328.9 MB, free: 11.36 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005561, allocations: 0 / 328.9 MB, free: 11.36 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001253/0.005687, allocations: 8 kB / 328.9 MB, free: 11.36 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (unitDelay1.u,unitDelay1.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.y) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.0003787/0.006065, allocations: 0.7433 MB / 329.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.293e-05/0.006158, allocations: 54.78 kB / 329.7 MB, free: 10.53 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.00616, allocations: 4.188 kB / 329.7 MB, free: 10.53 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.006161, allocations: 0 / 329.7 MB, free: 10.53 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.006431, allocations: 78.95 kB / 329.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007458/0.007177, allocations: 1.315 MB / 331.1 MB, free: 9.051 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.064e-05/0.007238, allocations: 96.25 kB / 331.2 MB, free: 8.938 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.497e-05/0.007253, allocations: 8.484 kB / 331.2 MB, free: 8.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.082e-05/0.007294, allocations: 20.5 kB / 331.2 MB, free: 8.91 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.007294, allocations: 4 kB / 331.2 MB, free: 8.906 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01424/0.02154, allocations: 3.011 MB / 334.2 MB, free: 6.035 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.574/6.596, allocations: 6.094 kB / 334.2 MB, free: 6.035 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.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: 8.228646543808281]