Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.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.001257/0.001257, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.001342/0.001342, allocations: 187.7 kB / 23.7 MB, free: 4.191 MB / 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.335/1.335, allocations: 225.7 MB / 252.5 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 47.92 kB / 370.4 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2282, allocations: 52.19 MB / 422.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002306/0.2305, allocations: 0.9281 MB / 423.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003492/0.2309, allocations: 127.6 kB / 423.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.761e-05/0.2309, allocations: 0 / 423.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.567e-05/0.231, allocations: 11.86 kB / 423.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.51e-05/0.2311, allocations: 15.86 kB / 423.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.2313, allocations: 43.91 kB / 423.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.2314, allocations: 67.77 kB / 423.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.2316, allocations: 32 kB / 423.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.772e-05/0.2316, allocations: 23.92 kB / 423.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.939e-05/0.2317, allocations: 31.78 kB / 423.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.2317, allocations: 8 kB / 423.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.412e-05/0.2317, allocations: 4 kB / 423.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.768e-05/0.2318, allocations: 27.92 kB / 423.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.776e-05/0.2318, allocations: 31.8 kB / 423.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.232, allocations: 93.33 kB / 424 MB, free: 12.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.232, allocations: 4 kB / 424 MB, free: 12.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.232, allocations: 0 / 424 MB, free: 12.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.232, allocations: 0 / 424 MB, free: 12.98 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003859/0.2323, allocations: 309.9 kB / 424.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2324, allocations: 12.03 kB / 424.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.855e-05/0.2324, allocations: 42.75 kB / 424.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.2325, allocations: 16.84 kB / 424.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.2327, allocations: 146.3 kB / 424.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.2327, allocations: 8.375 kB / 424.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.2327, allocations: 4.375 kB / 424.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003852/0.2331, allocations: 222.2 kB / 424.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.2331, allocations: 3.938 kB / 424.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.2331, allocations: 0 / 424.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2331, allocations: 0 / 424.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.183e-05/0.2332, allocations: 39.92 kB / 424.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001459/0.2334, allocations: 144.7 kB / 424.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.2336, allocations: 126.1 kB / 425.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.2337, allocations: 73.19 kB / 425.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.714e-06/0.2337, allocations: 3.938 kB / 425.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.2337, allocations: 38.56 kB / 425.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.2337, allocations: 4 kB / 425.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002735/0.234, allocations: 153.4 kB / 425.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.234, allocations: 63.41 kB / 425.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.2342, allocations: 144.6 kB / 425.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.2342, allocations: 29.64 kB / 425.6 MB, free: 11.26 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.2342, allocations: 88.47 kB / 425.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.2343, allocations: 11.94 kB / 425.7 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-05/0.2343, allocations: 37.72 kB / 425.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.2345, allocations: 322.8 kB / 426 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.328e-05/0.2345, allocations: 15.98 kB / 426 MB, free: 10.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.2346, allocations: 125.7 kB / 426.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.2348, allocations: 149.5 kB / 426.3 MB, free: 10.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2348, allocations: 0 / 426.3 MB, free: 10.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002177/0.235, allocations: 165.5 kB / 426.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.235, allocations: 7.938 kB / 426.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.235, allocations: 4 kB / 426.5 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.235, allocations: 8 kB / 426.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.205e-05/0.235, allocations: 7.938 kB / 426.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.2351, allocations: 4 kB / 426.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.468e-05/0.2351, allocations: 7.938 kB / 426.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.2351, allocations: 12 kB / 426.5 MB, free: 10.18 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],unitDelay1.y,$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 (18): * Single equations (assignments): 18 * 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.0001477/0.2353, allocations: 145.9 kB / 426.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.2354, allocations: 129.4 kB / 426.8 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.535e-05/0.2355, allocations: 17.06 kB / 426.8 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2355, allocations: 4 kB / 426.8 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2355, allocations: 3.984 kB / 426.8 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.2355, allocations: 0 / 426.8 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.2356, allocations: 144.7 kB / 426.9 MB, free: 9.691 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2356, allocations: 0 / 426.9 MB, free: 9.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.576e-05/0.2356, allocations: 4 kB / 427 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.2356, allocations: 3.938 kB / 427 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.2356, allocations: 4 kB / 427 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2356, allocations: 4 kB / 427 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2356, allocations: 0 / 427 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.2358, allocations: 160.1 kB / 427.1 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.546e-05/0.2359, allocations: 27.81 kB / 427.1 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.2359, allocations: 4 kB / 427.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.242e-05/0.2359, allocations: 8 kB / 427.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-06/0.2359, allocations: 0 / 427.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.2359, allocations: 0 / 427.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.747e-05/0.236, allocations: 118.5 kB / 427.3 MB, free: 9.352 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.236, allocations: 0 / 427.3 MB, free: 9.352 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000221/0.2362, allocations: 20 kB / 427.3 MB, free: 9.332 MB / 334.1 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.0006474/0.2369, allocations: 0.7411 MB / 428 MB, free: 8.562 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001735/0.2371, allocations: 87.84 kB / 428.1 MB, free: 8.477 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2371, allocations: 1.062 kB / 428.1 MB, free: 8.477 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.2371, allocations: 0 / 428.1 MB, free: 8.477 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.2374, allocations: 87.14 kB / 428.2 MB, free: 8.395 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.2389, allocations: 1.632 MB / 429.8 MB, free: 6.586 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.2391, allocations: 104.6 kB / 429.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.454e-05/0.2391, allocations: 20.58 kB / 430 MB, free: 6.445 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.135e-05/0.2391, allocations: 23.42 kB / 430 MB, free: 6.422 MB / 334.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2391, allocations: 0 / 430 MB, free: 6.422 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02763/0.2668, allocations: 3.023 MB / 433 MB, free: 3.551 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.69, allocations: 3.984 kB / 433 MB, free: 3.547 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 12.922199233900756]